[FIX] Member list filters for All by default (#4757)

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
This commit is contained in:
Reinaldo Neto 2023-01-04 11:36:51 -03:00 committed by GitHub
parent 73557038a2
commit b6b5e7294f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -110,8 +110,8 @@ const RoomMembersView = (): React.ReactElement => {
useEffect(() => { useEffect(() => {
const subscription = params?.room?.observe && params.room.observe().subscribe(changes => updateState({ room: changes })); const subscription = params?.room?.observe && params.room.observe().subscribe(changes => updateState({ room: changes }));
setHeader(true); setHeader(false);
fetchMembers(true); fetchMembers(false);
return () => subscription?.unsubscribe(); return () => subscription?.unsubscribe();
}, []); }, []);