@ -1391,10 +1391,11 @@
pubKey
);
await window.lokiFileServerAPI.updateOurDeviceMapping();
// TODO: we should ensure the message was sent and retry automatically if not
const device = new libsession.Types.PubKey(pubKey);
const unlinkMessage = new libsession.Messages.Outgoing.DeviceUnlinkMessage(
{
timestamp: Date.now(),
}
await libsession.getMessageQueue().send(device, unlinkMessage);
@ -1382,7 +1382,7 @@
const groupInvitMessage = new libsession.Messages.Outgoing.GroupInvitationMessage(
identifier: id,
serverName: groupInvitation.name,
channelId: groupInvitation.channelId,
serverAddress: groupInvitation.address,
@ -458,6 +458,7 @@ MessageSender.prototype = {
if (myDevice !== 1 && myDevice !== '1') {
const syncReadMessages = new libsession.Messages.Outgoing.SyncReadMessage(
readMessages: reads,