Merge pull request #1186 from msgmaxim/fix-open-groups

Fix incorrect conversation id for incoming open group messages
pull/1189/head
Maxim Shishmarev 5 years ago committed by GitHub
commit 5ca2a9db37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save