mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02:00
Update MemberList on invite permission change
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
This commit is contained in:
parent
cf384c2a54
commit
0d8a7eabc7
@ -196,6 +196,9 @@ export default class MemberList extends React.Component {
|
||||
event.getType() === "m.room.third_party_invite") {
|
||||
this._updateList();
|
||||
}
|
||||
if (event.getContent().invite !== event.getPrevContent().invite) {
|
||||
this.forceUpdate();
|
||||
}
|
||||
};
|
||||
|
||||
_updateList = rate_limited_func(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user