Merge pull request #1245 from Bilb/fix-timestam-unlink-message

pull/1248/head
Audric Ackermann 5 years ago committed by GitHub
commit 1a27fc43f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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(
pubKey
{
timestamp: Date.now(),
}
);
await libsession.getMessageQueue().send(device, unlinkMessage);

@ -1382,7 +1382,7 @@
const groupInvitMessage = new libsession.Messages.Outgoing.GroupInvitationMessage(
{
identifier: id,
timestamp: Date.now(),
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(
{
timestamp: Date.now(),
readMessages: reads,
}
);

Loading…
Cancel
Save