handleDataMessage: handle messages as coming from primaryDevice

pull/1137/head
Audric Ackermann 5 years ago
parent 3fe1e0e26e
commit 632de4e9c7
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -2119,7 +2119,7 @@
// still go through one of the previous two codepaths
const ourNumber = textsecure.storage.user.getNumber();
const message = this;
const source = message.get('source');
let source = message.get('source');
let conversationId = message.get('conversationId');
const authorisation = await libloki.storage.getGrantAuthorisationForSecondaryPubKey(
source
@ -2201,6 +2201,7 @@
}
}
const conversation = conversationPrimary;
source = primarySource;
return conversation.queueJob(async () => {
window.log.info(

Loading…
Cancel
Save