diff --git a/preload.js b/preload.js index 1fa7cf90c..bfaa25609 100644 --- a/preload.js +++ b/preload.js @@ -43,8 +43,7 @@ window.lokiFeatureFlags = { useFileOnionRequestsV2: true, // more compact encoding of files in response padOutgoingAttachments: true, enablePinConversations: true, - useUnsendRequests: true, - useCallMessage: false, + useCallMessage: true, }; window.isBeforeVersion = (toCheck, baseVersion) => { diff --git a/ts/interactions/conversations/unsendingInteractions.ts b/ts/interactions/conversations/unsendingInteractions.ts index 414e2a7c6..9f75148a5 100644 --- a/ts/interactions/conversations/unsendingInteractions.ts +++ b/ts/interactions/conversations/unsendingInteractions.ts @@ -42,6 +42,13 @@ async function unsendMessagesForEveryone( .catch(window?.log?.error) ) ); + await Promise.all( + unsendMsgObjects.map(unsendObject => + getMessageQueue() + .sendSyncMessage(unsendObject) + .catch(window?.log?.error) + ) + ); allDeleted = await deleteMessagesFromSwarmAndCompletelyLocally(conversation, msgsToDelete); } else if (conversation.isClosedGroup()) { // sending to recipient all the messages separately for now