From 0fe24757ba6a0b1d2318be60cfafeeb188be0172 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 20 Feb 2019 16:32:01 -0800 Subject: [PATCH] modules/client/sync/rooms/unread_notifications: Remove condition to send counts. --- modules/client/sync/rooms/unread_notifications.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/client/sync/rooms/unread_notifications.cc b/modules/client/sync/rooms/unread_notifications.cc index db0441148..77cb1f933 100644 --- a/modules/client/sync/rooms/unread_notifications.cc +++ b/modules/client/sync/rooms/unread_notifications.cc @@ -50,16 +50,12 @@ ircd::m::sync::room_unread_notifications_polylog(data &data) index(last_read) }; + data.commit(); json::stack::object out { data.out }; - if(!apropos(data, start_idx)) - return; - - data.commit(); - // highlight_count json::stack::member {