0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-28 19:58:53 +02: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; user::notifications::opts opts;
opts.room_id = room.room_id; opts.room_id = room.room_id;
opts.only = "highlight"; opts.only = "highlight";
opts.from = b; opts.from = range.second;
opts.to = a; opts.to = range.first;
const auto ret const auto ret
{ {
notifications.count(opts) notifications.count(opts)