Page MenuHomePhabricator

D11942.id40945.diff
No OneTemporary

D11942.id40945.diff

diff --git a/native/account/registration/registration-server-call.js b/native/account/registration/registration-server-call.js
--- a/native/account/registration/registration-server-call.js
+++ b/native/account/registration/registration-server-call.js
@@ -39,6 +39,7 @@
useUploadSelectedMedia,
} from '../../avatars/avatar-hooks.js';
import { commCoreModule } from '../../native-modules.js';
+import { persistConfig } from '../../redux/persist.js';
import { useSelector } from '../../redux/redux-utils.js';
import { nativeLegacyLogInExtraInfoSelector } from '../../selectors/account-selectors.js';
import {
@@ -550,6 +551,13 @@
}
await nativeSetUserAvatar(updateUserAvatarRequest);
} finally {
+ dispatch({
+ type: setSyncedMetadataEntryActionType,
+ payload: {
+ name: syncedMetadataNames.DB_VERSION,
+ data: `${persistConfig.version}`,
+ },
+ });
dispatch({
type: setDataLoadedActionType,
payload: {

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 6:18 PM (21 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2539874
Default Alt Text
D11942.id40945.diff (1 KB)

Event Timeline