diff --git a/app/views/RoomMembersView/index.tsx b/app/views/RoomMembersView/index.tsx index 8142f0cf9..cfbd639e0 100644 --- a/app/views/RoomMembersView/index.tsx +++ b/app/views/RoomMembersView/index.tsx @@ -121,6 +121,15 @@ 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)) {