mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
Merge pull request #1592 from matrix-org/luke/groups-fix-accept-invite-refresh-members
Fetch group members after accepting an invite
This commit is contained in:
commit
65cea53f3d
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user