retrieve full handle on post edition, fix #630
This commit is contained in:
parent
74eed7e8ba
commit
bd75317417
|
@ -127,6 +127,13 @@ export class CreateStatusComponent implements OnInit, OnDestroy {
|
||||||
|
|
||||||
// this.statusStateService.setStatusContent(this.status, this.statusReplyingToWrapper);
|
// this.statusStateService.setStatusContent(this.status, this.statusReplyingToWrapper);
|
||||||
|
|
||||||
|
// Retrieve mentions
|
||||||
|
for(let mention of value.status.mentions){
|
||||||
|
if(this.status){
|
||||||
|
this.status = this.status.replace(`@${mention.username}`, `@${mention.acct}`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
this.setVisibilityFromStatus(value.status);
|
this.setVisibilityFromStatus(value.status);
|
||||||
this.title = value.status.spoiler_text;
|
this.title = value.status.spoiler_text;
|
||||||
this.statusLoaded = true;
|
this.statusLoaded = true;
|
||||||
|
|
Loading…
Reference in New Issue