diff --git a/js/background.js b/js/background.js index 42475c038..6c213c105 100644 --- a/js/background.js +++ b/js/background.js @@ -1818,10 +1818,11 @@ const otherDevices = await libloki.storage.getPairedDevicesFor(id); const devices = [id, ...otherDevices]; - const deviceConversations = await Promise.all(devices.map(d => ConversationController.getOrCreateAndWait( - d, - 'private' - ))); + const deviceConversations = await Promise.all( + devices.map(d => + ConversationController.getOrCreateAndWait(d, 'private') + ) + ); deviceConversations.forEach(device => { if (device.isFriendRequestStatusNoneOrExpired()) { libloki.api.sendAutoFriendRequestMessage(device.id); @@ -1831,7 +1832,6 @@ } }); - if (details.profileKey) { const profileKey = window.Signal.Crypto.arrayBufferToBase64( details.profileKey diff --git a/js/models/messages.js b/js/models/messages.js index 985342db6..b55512247 100644 --- a/js/models/messages.js +++ b/js/models/messages.js @@ -2420,7 +2420,10 @@ if (!message.isEndSession()) { if (dataMessage.expireTimer) { - if (dataMessage.expireTimer !== conversationPrimary.get('expireTimer')) { + if ( + dataMessage.expireTimer !== + conversationPrimary.get('expireTimer') + ) { conversationPrimary.updateExpirationTimer( dataMessage.expireTimer, source,