0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 15:00:51 +01:00

modules/client/sync/rooms/unread_notifications: Fix range options to counter.

This commit is contained in:
Jason Volk 2020-03-26 11:29:01 -07:00
parent 106dd18a86
commit 107cae9591

View file

@ -249,8 +249,8 @@ ircd::m::sync::_highlight_count(const room &room,
user::notifications::opts opts;
opts.room_id = room.room_id;
opts.only = "highlight";
opts.from = b;
opts.to = a;
opts.from = range.second;
opts.to = range.first;
const auto ret
{
notifications.count(opts)