mirror of https://github.com/vector-im/riot-web
Fetch group members after accepting an invite
parent
c1d9d3714a
commit
3e3ebd6358
|
@ -172,7 +172,9 @@ export default class GroupStore extends EventEmitter {
|
||||||
acceptGroupInvite() {
|
acceptGroupInvite() {
|
||||||
return this._matrixClient.acceptGroupInvite(this.groupId)
|
return this._matrixClient.acceptGroupInvite(this.groupId)
|
||||||
// The user might be able to see more rooms now
|
// 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) {
|
addRoomToGroupSummary(roomId, categoryId) {
|
||||||
|
|
Loading…
Reference in New Issue