mirror of
https://github.com/NicolasConstant/sengi
synced 2025-01-05 04:57:17 +01:00
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);
|
||||
|
||||
// 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.title = value.status.spoiler_text;
|
||||
this.statusLoaded = true;
|
||||
|
Loading…
Reference in New Issue
Block a user