fix multi device fr

pull/1137/head
Audric Ackermann 5 years ago
parent 03757ba2ca
commit 13a783bd4a
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -250,7 +250,7 @@
// Friend request message conmfirmations (Accept / Decline) are always // Friend request message conmfirmations (Accept / Decline) are always
// sent to the primary device conversation // sent to the primary device conversation
const messages = await window.Signal.Data.getMessagesByConversation( const messages = await window.Signal.Data.getMessagesByConversation(
this.id, this.getPrimaryDevicePubKey(),
{ {
limit: 1, limit: 1,
MessageCollection: Whisper.MessageCollection, MessageCollection: Whisper.MessageCollection,

@ -2508,7 +2508,7 @@
} }
const sendingDeviceConversation = await ConversationController.getOrCreateAndWait( const sendingDeviceConversation = await ConversationController.getOrCreateAndWait(
source, primarySource,
'private' 'private'
); );
if (dataMessage.profileKey) { if (dataMessage.profileKey) {

Loading…
Cancel
Save