Page MenuHomePhabricator

D10233.id34389.diff
No OneTemporary

D10233.id34389.diff

diff --git a/lib/selectors/user-selectors.js b/lib/selectors/user-selectors.js
--- a/lib/selectors/user-selectors.js
+++ b/lib/selectors/user-selectors.js
@@ -73,21 +73,15 @@
: null;
if (memberInfo.id === currentUserID) {
relativeMemberInfos.unshift({
- id: memberInfo.id,
- role: memberInfo.role,
- permissions: memberInfo.permissions,
+ ...memberInfo,
username,
isViewer: true,
- isSender: memberInfo.isSender,
});
} else {
relativeMemberInfos.push({
- id: memberInfo.id,
- role: memberInfo.role,
- permissions: memberInfo.permissions,
+ ...memberInfo,
username,
isViewer: false,
- isSender: memberInfo.isSender,
});
}
}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 6, 9:44 PM (18 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2431870
Default Alt Text
D10233.id34389.diff (783 B)

Event Timeline