This commit is contained in:
Nicolas Constant 2019-04-07 16:15:04 -04:00
parent 126d4a34a4
commit ab468aa039
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 3 additions and 0 deletions

View File

@ -191,6 +191,9 @@ export class CreateStatusComponent implements OnInit, OnDestroy {
globalUniqueMentions.push(mention);
}
const selectedUser = this.toolsService.getSelectedAccounts()[0];
globalUniqueMentions = globalUniqueMentions.filter(x => x.toLowerCase() !== `${selectedUser.username}@${selectedUser.instance}`.toLowerCase());
return globalUniqueMentions;
}