diff --git a/js/modules/loki_file_server_api.js b/js/modules/loki_file_server_api.js index 5b110e199..e460b8972 100644 --- a/js/modules/loki_file_server_api.js +++ b/js/modules/loki_file_server_api.js @@ -21,6 +21,11 @@ class LokiFileServerAPI { ); } + async getDeviceMappingForUsers(pubKeys) { + const users = await this._server.getUsersAnnotations(pubKeys); + return users + } + setOurDeviceMapping(authorisations, isPrimary) { const content = { isPrimary: isPrimary ? '1' : '0',