1
0
mirror of https://github.com/NicolasConstant/sengi synced 2024-12-27 08:53:48 +01:00
This commit is contained in:
Nicolas Constant 2019-02-10 18:49:17 -05:00
parent 01619fd5a4
commit 0209b76886
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688

View File

@ -28,7 +28,11 @@ export class ReplyToStatusComponent implements OnInit {
private readonly mastodonService: MastodonService) { }
ngOnInit() {
this.statusReplyingTo = this.statusReplyingToWrapper.status;
if( this.statusReplyingToWrapper.status.reblog){
this.statusReplyingTo = this.statusReplyingToWrapper.status.reblog;
} else {
this.statusReplyingTo = this.statusReplyingToWrapper.status;
}
this.status += `@${this.statusReplyingTo.account.acct} `;
for (const mention of this.statusReplyingTo.mentions) {