mirror of
https://github.com/NicolasConstant/sengi
synced 2025-01-28 09:19:21 +01:00
fix #27
This commit is contained in:
parent
01619fd5a4
commit
0209b76886
@ -28,7 +28,11 @@ export class ReplyToStatusComponent implements OnInit {
|
|||||||
private readonly mastodonService: MastodonService) { }
|
private readonly mastodonService: MastodonService) { }
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
if( this.statusReplyingToWrapper.status.reblog){
|
||||||
|
this.statusReplyingTo = this.statusReplyingToWrapper.status.reblog;
|
||||||
|
} else {
|
||||||
this.statusReplyingTo = this.statusReplyingToWrapper.status;
|
this.statusReplyingTo = this.statusReplyingToWrapper.status;
|
||||||
|
}
|
||||||
|
|
||||||
this.status += `@${this.statusReplyingTo.account.acct} `;
|
this.status += `@${this.statusReplyingTo.account.acct} `;
|
||||||
for (const mention of this.statusReplyingTo.mentions) {
|
for (const mention of this.statusReplyingTo.mentions) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user