increment sub count when necessary

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2025-07-16 13:36:33 -04:00
parent 95e9e4326a
commit dc4e3d7510
3 changed files with 8 additions and 3 deletions

View File

@@ -121,8 +121,10 @@ impl Columns {
let routes = intermediary_routes
.into_iter()
.map(|r| match r {
IntermediaryRoute::Timeline(timeline) => {
IntermediaryRoute::Timeline(mut timeline) => {
let route = Route::timeline(timeline.kind.clone());
timeline.subscription.increment();
timeline_cache
.timelines
.insert(timeline.kind.clone(), timeline);