Merge pull request #542 from sachaaaaa/fix_secondary_sig_fileserver

[multi-device] Fix signatures being sent to file server as arraybuffer
pull/548/head
sachaaaaa 6 years ago committed by GitHub
commit c48f52b590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save