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:
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;
|
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)
|
||||||
|
|
Loading…
Reference in a new issue