pull/542/head
sachaaaaa 6 years ago
parent 03d0385427
commit 48ce9a7649

@ -1,5 +1,4 @@
/* global storage: false */ /* global storage: false */
/* global libloki: false */
/* global Signal: false */ /* global Signal: false */
const LokiAppDotNetAPI = require('./loki_app_dot_net_api'); const LokiAppDotNetAPI = require('./loki_app_dot_net_api');
@ -34,9 +33,7 @@ class LokiFileServerAPI {
); );
} else { } else {
authorisations = [ authorisations = [
await Signal.Data.getGrantAuthorisationForSecondaryPubKey( await Signal.Data.getGrantAuthorisationForSecondaryPubKey(this.ourKey),
this.ourKey
),
]; ];
} }
return this._setOurDeviceMapping(authorisations, isPrimary); return this._setOurDeviceMapping(authorisations, isPrimary);

Loading…
Cancel
Save