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

Fetch group members after accepting an invite #1592

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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