diff --git a/lib/shared/redux/update-roles-and-permissions.js b/lib/shared/redux/deprecated-update-roles-and-permissions.js rename from lib/shared/redux/update-roles-and-permissions.js rename to lib/shared/redux/deprecated-update-roles-and-permissions.js --- a/lib/shared/redux/update-roles-and-permissions.js +++ b/lib/shared/redux/deprecated-update-roles-and-permissions.js @@ -11,7 +11,7 @@ LegacyRawThreadInfo, } from '../../types/thread-types.js'; -function updateRolesAndPermissions( +function deprecatedUpdateRolesAndPermissions( threadStoreInfos: RawThreadInfos, ): RawThreadInfos { const decodedThreadStoreInfos: { [id: string]: LegacyRawThreadInfo } = {}; @@ -44,4 +44,4 @@ return updatedThreadStoreInfos; } -export { updateRolesAndPermissions }; +export { deprecatedUpdateRolesAndPermissions }; diff --git a/native/redux/persist.js b/native/redux/persist.js --- a/native/redux/persist.js +++ b/native/redux/persist.js @@ -60,8 +60,8 @@ import { filterThreadIDsInFilterList } from 'lib/reducers/calendar-filters-reducer.js'; import { highestLocalIDSelector } from 'lib/selectors/local-id-selectors.js'; import { createUpdateDBOpsForThreadStoreThreadInfos } from 'lib/shared/redux/client-db-utils.js'; +import { deprecatedUpdateRolesAndPermissions } from 'lib/shared/redux/deprecated-update-roles-and-permissions.js'; import { legacyUpdateRolesAndPermissions } from 'lib/shared/redux/legacy-update-roles-and-permissions.js'; -import { updateRolesAndPermissions } from 'lib/shared/redux/update-roles-and-permissions.js'; import { inconsistencyResponsesToReports } from 'lib/shared/report-utils.js'; import { getContainingThreadID, @@ -1394,7 +1394,7 @@ const dbOperations = createUpdateDBOpsForThreadStoreThreadInfos( clientDBThreadInfos, - updateRolesAndPermissions, + deprecatedUpdateRolesAndPermissions, ); return { diff --git a/web/redux/persist.js b/web/redux/persist.js --- a/web/redux/persist.js +++ b/web/redux/persist.js @@ -19,7 +19,7 @@ import type { ClientDBThreadStoreOperation } from 'lib/ops/thread-store-ops.js'; import { patchRawThreadInfoWithSpecialRole } from 'lib/permissions/special-roles.js'; import { createUpdateDBOpsForThreadStoreThreadInfos } from 'lib/shared/redux/client-db-utils.js'; -import { updateRolesAndPermissions } from 'lib/shared/redux/update-roles-and-permissions.js'; +import { deprecatedUpdateRolesAndPermissions } from 'lib/shared/redux/deprecated-update-roles-and-permissions.js'; import { keyserverStoreTransform } from 'lib/shared/transforms/keyserver-store-transform.js'; import { messageStoreMessagesBlocklistTransform } from 'lib/shared/transforms/message-store-transform.js'; import { defaultAlertInfos } from 'lib/types/alert-types.js'; @@ -591,7 +591,7 @@ const dbOperations = createUpdateDBOpsForThreadStoreThreadInfos( clientDBThreadInfos, - updateRolesAndPermissions, + deprecatedUpdateRolesAndPermissions, ); return {