From b660b6bc8ef41df7601a411213d6cda80821df87 Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Thu, 15 Feb 2018 17:10:48 -0500 Subject: [PATCH] Use `messageDescriptor.id` not `source` --- js/background.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/background.js b/js/background.js index 83d8114eb6..7e84cb9e44 100644 --- a/js/background.js +++ b/js/background.js @@ -538,7 +538,8 @@ ) { const profileKey = data.message.profileKey.toArrayBuffer(); const sender = await ConversationController.getOrCreateAndWait( - messageDescriptor.source, 'private' + messageDescriptor.id, + 'private' ); await sender.setProfileKey(profileKey); return confirm();