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);
|
await retryPlaceholders.findByConversationAndMarkOpened(this.model.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.model.loadNewestMessages(undefined, undefined);
|
const loadAndUpdate = async () => {
|
||||||
this.model.updateLastMessage();
|
await this.model.loadNewestMessages(undefined, undefined);
|
||||||
|
await this.model.updateLastMessage();
|
||||||
|
};
|
||||||
|
|
||||||
|
loadAndUpdate();
|
||||||
|
|
||||||
this.focusMessageField();
|
this.focusMessageField();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue