diff --git a/js/background.js b/js/background.js index 910c4b1bd..218acba75 100644 --- a/js/background.js +++ b/js/background.js @@ -259,6 +259,7 @@ window.initialisedAPI = true; if (storage.get('isSecondaryDevice')) { + window.log.info('Initialising as a secondary device'); window.lokiFileServerAPI.updateOurDeviceMapping(); } }; @@ -1365,6 +1366,7 @@ }); Whisper.events.on('deviceUnpairingRequested', async pubKey => { + window.log.info('unpairing device...'); await libloki.storage.removePairingAuthorisationForSecondaryPubKey( pubKey );