From 36b8de13391ef0c58fe3a18f2df9fb1301aa58b8 Mon Sep 17 00:00:00 2001 From: morguldir Date: Fri, 30 Aug 2024 09:30:50 +0200 Subject: [PATCH] syncv3: include invited rooms in the count --- src/api/client/sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/client/sync.rs b/src/api/client/sync.rs index 4acd4e93..f9942f05 100644 --- a/src/api/client/sync.rs +++ b/src/api/client/sync.rs @@ -1394,7 +1394,7 @@ pub(crate) async fn sync_events_v4_route( } }) .collect(), - count: ruma_from_usize(all_joined_rooms.len()), + count: ruma_from_usize(active_rooms.len()), }, );