From 7087fb4e9c843f29e339883f870b0201d86910d6 Mon Sep 17 00:00:00 2001 From: Shevilll Date: Thu, 25 Jun 2026 23:59:09 +0530 Subject: [PATCH] fix(watermelon): prevent room list query flicker on connection status change --- app/views/RoomsListView/hooks/useSubscriptions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/RoomsListView/hooks/useSubscriptions.ts b/app/views/RoomsListView/hooks/useSubscriptions.ts index 485649f35c4..db6f6b00d26 100644 --- a/app/views/RoomsListView/hooks/useSubscriptions.ts +++ b/app/views/RoomsListView/hooks/useSubscriptions.ts @@ -39,7 +39,7 @@ export const useSubscriptions = () => { 'use memo'; const useRealName = useAppSelector(state => state.settings.UI_Use_Real_Name); - const server = useAppSelector(state => state.server); + const server = useAppSelector(state => state.server.server); const subscriptionRef = useRef(null); const [subscriptions, setSubscriptions] = useState([]); const [loading, setLoading] = useState(true);