diff --git a/lib/selectors/socket-selectors.js b/lib/selectors/socket-selectors.js --- a/lib/selectors/socket-selectors.js +++ b/lib/selectors/socket-selectors.js @@ -24,7 +24,6 @@ type ClientClientResponse, } from '../types/request-types.js'; import type { SessionState } from '../types/session-types.js'; -import { authoritativeKeyserverID } from '../utils/authoritative-keyserver.js'; import { getConfig } from '../utils/config.js'; import { values } from '../utils/objects.js'; @@ -108,7 +107,6 @@ ( boundStateSyncSpecs: BoundStateSyncSpecs, calendarQuery: (calendarActive: boolean) => CalendarQuery, - // eslint-disable-next-line no-unused-vars keyserverID: string, ) => { return async ( @@ -202,9 +200,7 @@ getInitialNotificationsEncryptedMessage ) { const initialNotificationsEncryptedMessage = - await getInitialNotificationsEncryptedMessage( - authoritativeKeyserverID(), - ); + await getInitialNotificationsEncryptedMessage(keyserverID); clientResponses.push({ type: serverRequestTypes.INITIAL_NOTIFICATIONS_ENCRYPTED_MESSAGE, initialNotificationsEncryptedMessage,