Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1592 from matrix-org/luke/groups-fix-accept-invit…
Browse files Browse the repository at this point in the history
…e-refresh-members

Fetch group members after accepting an invite
  • Loading branch information
lukebarnard1 committed Nov 8, 2017
2 parents 7075931 + 3e3ebd6 commit 65cea53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/stores/GroupStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 65cea53

Please sign in to comment.