Page MenuHomePhabricator

D12514.id41571.diff
No OneTemporary

D12514.id41571.diff

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
@@ -573,9 +573,13 @@
action.type === updateUserAvatarActionTypes.success &&
relyingOnAuthoritativeKeyserver
) {
- 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

Mime Type
text/plain
Expires
Sat, Dec 21, 2:04 AM (17 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2684642
Default Alt Text
D12514.id41571.diff (735 B)

Event Timeline