From 7a091276874f0ef876df3470cc0b97275be23567 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Tue, 7 Nov 2017 11:27:42 +0000 Subject: [PATCH] Alter group member api To match https://github.com/matrix-org/synapse/pull/2647 --- src/components/views/groups/GroupMemberTile.js | 2 +- src/groups.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/groups/GroupMemberTile.js b/src/components/views/groups/GroupMemberTile.js index 84c2adcb41..f967a33f46 100644 --- a/src/components/views/groups/GroupMemberTile.js +++ b/src/components/views/groups/GroupMemberTile.js @@ -63,7 +63,7 @@ export default withMatrixClient(React.createClass({ return ( ); }, diff --git a/src/groups.js b/src/groups.js index 957db1d85b..860cf71fff 100644 --- a/src/groups.js +++ b/src/groups.js @@ -36,7 +36,7 @@ export function groupMemberFromApiObject(apiObject) { userId: apiObject.user_id, displayname: apiObject.displayname, avatarUrl: apiObject.avatar_url, - isAdmin: apiObject.is_admin, + isPrivileged: apiObject.is_privileged, }; }