mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 23:40:57 +01:00
modules/client/sync/rooms: Minor constness fix.
This commit is contained in:
parent
ddd59f6a04
commit
77ababbe85
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ ircd::m::sync::room_unread_notifications_linear(data &data)
|
|||
void
|
||||
ircd::m::sync::room_unread_notifications_polylog(data &data)
|
||||
{
|
||||
auto &room{*data.room};
|
||||
const auto &room{*data.room};
|
||||
m::event::id::buf last_read;
|
||||
if(!m::receipt::read(last_read, room.room_id, data.user))
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue