Page MenuHomePhabricator

D10233.id34589.diff
No OneTemporary

D10233.id34589.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:59 PM (18 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2431870
Default Alt Text
D10233.id34589.diff (783 B)

Event Timeline