|
|
@ -5,7 +5,7 @@
|
|
|
|
i18n,
|
|
|
|
i18n,
|
|
|
|
passwordUtil,
|
|
|
|
passwordUtil,
|
|
|
|
_,
|
|
|
|
_,
|
|
|
|
lokiFileServerAPI */
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/* eslint-disable more/no-then */
|
|
|
|
/* eslint-disable more/no-then */
|
|
|
|
|
|
|
|
|
|
|
@ -147,7 +147,6 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
async onSecondaryDeviceRegistered() {
|
|
|
|
async onSecondaryDeviceRegistered() {
|
|
|
|
clearInterval(this.pairingInterval);
|
|
|
|
clearInterval(this.pairingInterval);
|
|
|
|
await lokiFileServerAPI.updateOurDeviceMapping();
|
|
|
|
|
|
|
|
// Ensure the left menu is updated
|
|
|
|
// Ensure the left menu is updated
|
|
|
|
Whisper.events.trigger('userChanged', { isSecondaryDevice: true });
|
|
|
|
Whisper.events.trigger('userChanged', { isSecondaryDevice: true });
|
|
|
|
// will re-run the background initialisation
|
|
|
|
// will re-run the background initialisation
|
|
|
|