Use `messageDescriptor.id` not `source`

This commit is contained in:
Daniel Gasienica 2018-02-15 17:10:48 -05:00
parent 5e7309d176
commit b660b6bc8e
1 changed files with 2 additions and 1 deletions

View File

@ -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();