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:
parent
106dd18a86
commit
107cae9591
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue