prevent note to self on unlink from slave

pull/1118/head
Vincent 5 years ago
parent 5564bfa134
commit 3f650a1d15

@ -1365,6 +1365,11 @@
});
Whisper.events.on('deviceUnpairingRequested', async (pubKey, callback) => {
const isSecondaryDevice = !!textsecure.storage.get('isSecondaryDevice');
if (isSecondaryDevice){
return;
}
await libloki.storage.removePairingAuthorisationForSecondaryPubKey(
pubKey
);

Loading…
Cancel
Save