Update last conversation message after loading
This commit is contained in:
parent
f8bbf5c998
commit
f49df88877
1 changed files with 6 additions and 2 deletions
|
@ -1208,8 +1208,12 @@ export class ConversationView extends window.Backbone.View<ConversationModel> {
|
|||
await retryPlaceholders.findByConversationAndMarkOpened(this.model.id);
|
||||
}
|
||||
|
||||
this.model.loadNewestMessages(undefined, undefined);
|
||||
this.model.updateLastMessage();
|
||||
const loadAndUpdate = async () => {
|
||||
await this.model.loadNewestMessages(undefined, undefined);
|
||||
await this.model.updateLastMessage();
|
||||
};
|
||||
|
||||
loadAndUpdate();
|
||||
|
||||
this.focusMessageField();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue