Member list stops showing online members after a few minutes

(#592) Bug Fixed ui

Thread

Comment by @vulpeace
RexSystem 1 vote originally by @vulpeace on GitHub
The issue does not seem to stem from the backend (by the way, for me the gateway container's log is empty), probably concerns this effect?... Another observation: if a displayed server member changes their status, then the whole list refreshes and works fine until the next time fluxer's tab goes inactive. https://github.com/fluxerapp/fluxer/blob/main/fluxer_app/src/features/member/hooks/useMemberListSubscription.ts
	useEffect(() => {
		if (!enabled) {
			return;
		}
		if (isWindowFocused) {
			MemberSidebar.claimMemberListSubscription(guildId, channelId, ownerId);
			sendSubscriptionEvent({type: 'memberListSubscription.resumed'});
			resubscribe();
			return;
		}
		pauseSubscription();
	}, [guildId, channelId, enabled, isWindowFocused, ownerId, pauseSubscription, resubscribe, sendSubscriptionEvent]);