Update last conversation message after loading
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
9d17f40c1a
commit
9aab70b940
|
@ -1211,8 +1211,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…
Reference in New Issue