Clears @mentions when clearing draft

This commit is contained in:
Josh Perez 2023-01-03 17:35:59 -05:00 committed by GitHub
parent add184d0da
commit 476006af96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View file

@ -4160,9 +4160,10 @@ export class ConversationModel extends window.Backbone
? {}
: {
draft: '',
draftBodyRanges: [],
draftTimestamp: null,
lastMessage: model.getNotificationText(),
lastMessageAuthor: model.getAuthorText(),
lastMessage: model.getNotificationText(),
lastMessageStatus: 'sending' as const,
};