@ -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
);