diff --git a/app/views/RoomMembersView/index.tsx b/app/views/RoomMembersView/index.tsx index 17d5e8b66a..e59b16ef6c 100644 --- a/app/views/RoomMembersView/index.tsx +++ b/app/views/RoomMembersView/index.tsx @@ -127,6 +127,14 @@ const RoomMembersView = (): React.ReactElement => { return () => subscription?.unsubscribe(); }, []); + useEffect(() => { + const unsubscribe = navigation.addListener('focus', () => { + const { allUsers } = state; + fetchMembers(allUsers); + }); + return unsubscribe; + }, [navigation]); + useEffect(() => { const fetchRoles = () => { if (isGroupChat(state.room)) {