Reliability fixes for conversation formatting and message send
This commit is contained in:
parent
fa2d300714
commit
8eea20ea91
11 changed files with 114 additions and 87 deletions
|
@ -655,7 +655,14 @@ export class ConversationController {
|
|||
const groups = await getAllGroupsInvolvingId(conversationId, {
|
||||
ConversationCollection: window.Whisper.ConversationCollection,
|
||||
});
|
||||
return groups.map(group => this._conversations.add(group));
|
||||
return groups.map(group => {
|
||||
const existing = this.get(group.id);
|
||||
if (existing) {
|
||||
return existing;
|
||||
}
|
||||
|
||||
return this._conversations.add(group);
|
||||
});
|
||||
}
|
||||
|
||||
async loadPromise(): Promise<void> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue