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

Commit

Permalink
Fetch group members after accepting an invite
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebarnard1 committed Nov 8, 2017
1 parent c1d9d37 commit 3e3ebd6
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 3e3ebd6

Please sign in to comment.