From 3e3ebd63585dc2ac01e51c42d4fccf4eda27f134 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Wed, 8 Nov 2017 11:52:52 +0000 Subject: [PATCH] Fetch group members after accepting an invite --- src/stores/GroupStore.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/stores/GroupStore.js b/src/stores/GroupStore.js index 2c094a136b..fdd776f74d 100644 --- a/src/stores/GroupStore.js +++ b/src/stores/GroupStore.js @@ -172,7 +172,9 @@ export default class GroupStore extends EventEmitter { acceptGroupInvite() { return this._matrixClient.acceptGroupInvite(this.groupId) // The user might be able to see more rooms now - .then(this._fetchRooms.bind(this)); + .then(this._fetchRooms.bind(this)) + // The user should now appear as a member + .then(this._fetchMembers.bind(this)); } addRoomToGroupSummary(roomId, categoryId) {