pull/1981/head
Audric Ackermann 4 years ago
parent 0f2fcbb6e3
commit 314b76388f
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -43,8 +43,7 @@ window.lokiFeatureFlags = {
useFileOnionRequestsV2: true, // more compact encoding of files in response useFileOnionRequestsV2: true, // more compact encoding of files in response
padOutgoingAttachments: true, padOutgoingAttachments: true,
enablePinConversations: true, enablePinConversations: true,
useUnsendRequests: true, useCallMessage: true,
useCallMessage: false,
}; };
window.isBeforeVersion = (toCheck, baseVersion) => { window.isBeforeVersion = (toCheck, baseVersion) => {

@ -42,6 +42,13 @@ async function unsendMessagesForEveryone(
.catch(window?.log?.error) .catch(window?.log?.error)
) )
); );
await Promise.all(
unsendMsgObjects.map(unsendObject =>
getMessageQueue()
.sendSyncMessage(unsendObject)
.catch(window?.log?.error)
)
);
allDeleted = await deleteMessagesFromSwarmAndCompletelyLocally(conversation, msgsToDelete); allDeleted = await deleteMessagesFromSwarmAndCompletelyLocally(conversation, msgsToDelete);
} else if (conversation.isClosedGroup()) { } else if (conversation.isClosedGroup()) {
// sending to recipient all the messages separately for now // sending to recipient all the messages separately for now

Loading…
Cancel
Save