You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Update MemberList on invite permission change
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user