Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3500739
D12514.id41678.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
729 B
Referenced Files
None
Subscribers
None
D12514.id41678.diff
View Options
diff --git a/lib/reducers/user-reducer.js b/lib/reducers/user-reducer.js
--- a/lib/reducers/user-reducer.js
+++ b/lib/reducers/user-reducer.js
@@ -580,9 +580,13 @@
userStoreOps,
];
} else if (action.type === updateUserAvatarActionTypes.success) {
- const newUserInfos = _keyBy(userInfo => userInfo.id)(
+ const keyserverUserInfos = _keyBy(userInfo => userInfo.id)(
action.payload.updates.userInfos,
);
+ const newUserInfos = discardKeyserverUsernames(
+ keyserverUserInfos,
+ state.userInfos,
+ );
const userStoreOps: $ReadOnlyArray<UserStoreOperation> =
convertUserInfosToReplaceUserOps(newUserInfos);
const processedUserInfos: UserInfos = processUserStoreOps(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 2:38 AM (18 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2682697
Default Alt Text
D12514.id41678.diff (729 B)
Attached To
Mode
D12514: [lib] Discard keyserver usernames for updateUserAvatarActionTypes
Attached
Detach File
Event Timeline
Log In to Comment