diff --git a/keyserver/src/fetchers/thread-fetchers.js b/keyserver/src/fetchers/thread-fetchers.js --- a/keyserver/src/fetchers/thread-fetchers.js +++ b/keyserver/src/fetchers/thread-fetchers.js @@ -10,10 +10,7 @@ getContainingThreadID, getCommunity, } from 'lib/shared/thread-utils.js'; -import { - hasMinCodeVersion, - NEXT_CODE_VERSION, -} from 'lib/shared/version-utils.js'; +import { hasMinCodeVersion } from 'lib/shared/version-utils.js'; import type { AvatarDBContent, ClientAvatar } from 'lib/types/avatar-types.js'; import type { RawMessageInfo, MessageInfo } from 'lib/types/message-types.js'; import type { ThinRawThreadInfo } from 'lib/types/minimally-encoded-thread-permissions-types.js'; @@ -310,7 +307,7 @@ ); const stripMemberPermissions = hasMinCodeVersion(viewer.platformDetails, { native: 379, - web: NEXT_CODE_VERSION, + web: 88, }); const threadInfos: { diff --git a/lib/utils/member-info-utils.js b/lib/utils/member-info-utils.js --- a/lib/utils/member-info-utils.js +++ b/lib/utils/member-info-utils.js @@ -53,6 +53,8 @@ const updatedRawThreadInfo: ThinRawThreadInfo = stripMemberPermissionsFromRawThreadInfo(rawThreadInfo); strippedThreadStoreInfos[threadID] = updatedRawThreadInfo; + + console.log(JSON.stringify(updatedRawThreadInfo)); } return strippedThreadStoreInfos; diff --git a/web/redux/persist.js b/web/redux/persist.js --- a/web/redux/persist.js +++ b/web/redux/persist.js @@ -686,6 +686,8 @@ stripMemberPermissions, ); + console.log(JSON.stringify(dbOperations)); + return { state, ops: dbOperations }; }, };