diff --git a/lib/keyserver-conn/call-single-keyserver-endpoint.js b/lib/keyserver-conn/call-single-keyserver-endpoint.js --- a/lib/keyserver-conn/call-single-keyserver-endpoint.js +++ b/lib/keyserver-conn/call-single-keyserver-endpoint.js @@ -30,6 +30,7 @@ SocketTimeout, } from '../utils/errors.js'; import sleep from '../utils/sleep.js'; +import { extractAndPersistUserInfosFromEndpointResponse } from '../utils/user-info-extraction-utils.js'; export type CallSingleKeyserverEndpointOptions = Partial<{ // null timeout means no timeout, which is the default for @@ -201,6 +202,7 @@ json = await Promise.race([callEndpointPromise, rejectPromise]); } } + extractAndPersistUserInfosFromEndpointResponse(json, endpoint); const { cookieChange, error, payload, currentUserInfo } = json; const sessionChange: ?ServerSessionChange = cookieChange;