mirror of https://github.com/vector-im/riot-web
Update MemberList on invite permission change
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>pull/21833/head
parent
cf384c2a54
commit
0d8a7eabc7
|
@ -196,6 +196,9 @@ export default class MemberList extends React.Component {
|
||||||
event.getType() === "m.room.third_party_invite") {
|
event.getType() === "m.room.third_party_invite") {
|
||||||
this._updateList();
|
this._updateList();
|
||||||
}
|
}
|
||||||
|
if (event.getContent().invite !== event.getPrevContent().invite) {
|
||||||
|
this.forceUpdate();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
_updateList = rate_limited_func(() => {
|
_updateList = rate_limited_func(() => {
|
||||||
|
|
Loading…
Reference in New Issue