mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-30 05:42:44 -08:00
Replace the adaptive 50/100/150 timeline limit system with a flat ACTIVE_ROOM_TIMELINE_LIMIT=50, matching Element Web approach. Stop calling unsubscribeFromRoom() on room navigation so subscriptions accumulate across the session for instant room switching. Element Web SlidingSyncManager.setRoomVisible() never removes subscriptions at all -- no pruning whatsoever. Our PRUNE_TIMELINE_THRESHOLD=100 guard is more conservative than their approach. - Remove AdaptiveSignals type, readAdaptiveSignals(), resolveAdaptiveRoomTimelineLimit(), applyRoomTimelineLimit() - Remove adaptiveTimeline and configuredTimelineLimit class fields - Remove adaptiveTimeline from SlidingSyncDiagnostics type and UI - Stop unsubscribing on nav in useSlidingSyncActiveRoom - Lower PRUNE_TIMELINE_THRESHOLD from 150 to 100