1
0
mirror of https://github.com/NicolasConstant/sengi synced 2025-01-05 04:57:17 +01:00

retrieve full handle on post edition, fix

This commit is contained in:
Nicolas Constant 2024-03-08 01:53:28 -05:00
parent 74eed7e8ba
commit bd75317417

View File

@ -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;