|
|
|
@ -1431,9 +1431,11 @@
|
|
|
|
// TODO: we should ensure the message was sent and retry automatically if not
|
|
|
|
// TODO: we should ensure the message was sent and retry automatically if not
|
|
|
|
await libloki.api.sendUnpairingMessageToSecondary(pubKey);
|
|
|
|
await libloki.api.sendUnpairingMessageToSecondary(pubKey);
|
|
|
|
// Remove all traces of the device
|
|
|
|
// Remove all traces of the device
|
|
|
|
|
|
|
|
setTimeout(() => {
|
|
|
|
ConversationController.deleteContact(pubKey);
|
|
|
|
ConversationController.deleteContact(pubKey);
|
|
|
|
Whisper.events.trigger('refreshLinkedDeviceList');
|
|
|
|
Whisper.events.trigger('refreshLinkedDeviceList');
|
|
|
|
callback();
|
|
|
|
callback();
|
|
|
|
|
|
|
|
}, 1000);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|