diff --git a/lib/shared/messages/update-relationship-message-spec.js b/lib/shared/messages/update-relationship-message-spec.js --- a/lib/shared/messages/update-relationship-message-spec.js +++ b/lib/shared/messages/update-relationship-message-spec.js @@ -32,7 +32,11 @@ import type { NotifTexts } from '../../types/notif-types.js'; import type { RelativeUserInfo } from '../../types/user-types.js'; import { type EntityText, ET } from '../../utils/entity-text.js'; -import { FUTURE_CODE_VERSION, hasMinCodeVersion } from '../version-utils.js'; +import { + NEXT_CODE_VERSION, + FUTURE_CODE_VERSION, + hasMinCodeVersion, +} from '../version-utils.js'; type UpdateRelationshipMessageSpec = MessageSpec< LegacyUpdateRelationshipMessageData | UpdateRelationshipMessageData, @@ -276,9 +280,8 @@ } else if ( rawMessageInfo.type === messageTypes.UPDATE_RELATIONSHIP && hasMinCodeVersion(platformDetails, { - native: FUTURE_CODE_VERSION, + native: NEXT_CODE_VERSION, web: FUTURE_CODE_VERSION, - majorDesktop: FUTURE_CODE_VERSION, }) ) { return rawMessageInfo; diff --git a/lib/shared/unshim-utils.js b/lib/shared/unshim-utils.js --- a/lib/shared/unshim-utils.js +++ b/lib/shared/unshim-utils.js @@ -45,6 +45,7 @@ messageTypes.REACTION, messageTypes.TOGGLE_PIN, messageTypes.EDIT_MESSAGE, + messageTypes.UPDATE_RELATIONSHIP, ]); function unshimMessageInfos( messageInfos: $ReadOnlyArray, diff --git a/native/redux/persist.js b/native/redux/persist.js --- a/native/redux/persist.js +++ b/native/redux/persist.js @@ -1304,6 +1304,8 @@ }, }; }, + [74]: (state: AppState) => + unshimClientDB(state, [messageTypes.UPDATE_RELATIONSHIP]), }; type PersistedReportStore = $Diff< @@ -1325,7 +1327,7 @@ storage: AsyncStorage, blacklist: persistBlacklist, debug: __DEV__, - version: 73, + version: 74, transforms: [ messageStoreMessagesBlocklistTransform, reportStoreTransform,