0
0
Fork 0
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:
Jason Volk 2019-02-19 14:49:50 -08:00
parent ddd59f6a04
commit 77ababbe85

View file

@ -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;