diff --git a/lib/reducers/master-reducer.js b/lib/reducers/master-reducer.js --- a/lib/reducers/master-reducer.js +++ b/lib/reducers/master-reducer.js @@ -22,6 +22,7 @@ import { reduceThreadActivity } from './thread-activity-reducer.js'; import { reduceThreadInfos } from './thread-reducer.js'; import { reduceCurrentUserInfo, reduceUserInfos } from './user-reducer.js'; +import { addKeyserverActionType } from '../actions/keyserver-actions.js'; import { siweAuthActionTypes } from '../actions/siwe-actions.js'; import { registerActionTypes, @@ -82,7 +83,8 @@ action.type !== fullStateSyncActionType && action.type !== registerActionTypes.success && action.type !== logInActionTypes.success && - action.type !== siweAuthActionTypes.success + action.type !== siweAuthActionTypes.success && + action.type !== addKeyserverActionType ) { for (const keyserverID in keyserverStore.keyserverInfos) { if ( @@ -104,8 +106,9 @@ }; } if ( + state.keyserverStore.keyserverInfos[keyserverID] && keyserverStore.keyserverInfos[keyserverID].updatesCurrentAsOf !== - state.keyserverStore.keyserverInfos[keyserverID].updatesCurrentAsOf + state.keyserverStore.keyserverInfos[keyserverID].updatesCurrentAsOf ) { const keyserverInfos = { ...keyserverStore.keyserverInfos }; keyserverInfos[keyserverID] = { diff --git a/lib/socket/socket.react.js b/lib/socket/socket.react.js --- a/lib/socket/socket.react.js +++ b/lib/socket/socket.react.js @@ -509,6 +509,7 @@ error: null, logInActionSource: logInActionSources.socketAuthErrorResolutionAttempt, + keyserverID: ashoatKeyserverID, }, }); } else if (!recoverySessionChange) {