Fix incorrect conversation id for incoming open group messages

pull/1186/head
Maxim Shishmarev 5 years ago
parent bbea23ed7c
commit 7fe6583608

@ -650,11 +650,9 @@ export async function handleMessageEvent(event: any): Promise<void> {
confirm(); confirm();
return; return;
} }
} } else if (source !== ourNumber) {
// Ignore auth from our devices
if (source !== ourNumber) { conversationId = primarySource.key;
// Ignore auth from our devices
conversationId = primarySource.key;
} }
// the conversation with the primary device of that source (can be the same as conversationOrigin) // the conversation with the primary device of that source (can be the same as conversationOrigin)

Loading…
Cancel
Save