From 0d8a7eabc7b7cf203d0c3bcdf78ed8583030eddb Mon Sep 17 00:00:00 2001 From: Jaiwanth Date: Wed, 19 May 2021 12:38:39 +0530 Subject: [PATCH] Update MemberList on invite permission change Signed-off-by: Jaiwanth --- src/components/views/rooms/MemberList.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/views/rooms/MemberList.js b/src/components/views/rooms/MemberList.js index fbc0e477a1..bb60c958f7 100644 --- a/src/components/views/rooms/MemberList.js +++ b/src/components/views/rooms/MemberList.js @@ -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(() => {