diff --git a/lib/components/keyserver-connection-handler.js b/lib/components/keyserver-connection-handler.js --- a/lib/components/keyserver-connection-handler.js +++ b/lib/components/keyserver-connection-handler.js @@ -134,7 +134,7 @@ await dispatchActionPromise( keyserverAuthActionTypes, (async () => { - await keyserverAuth({ + const result = await keyserverAuth({ userID, deviceID, doNotRegister: false, @@ -153,6 +153,7 @@ if (cancelled) { throw new Error(CANCELLED_ERROR); } + return result; })(), ); } catch (e) {