Update MemberList on invite permission change

Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
pull/21833/head
Jaiwanth 2021-05-19 12:38:39 +05:30
parent cf384c2a54
commit 0d8a7eabc7
1 changed files with 3 additions and 0 deletions

View File

@ -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(() => {