0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +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 void
ircd::m::sync::room_unread_notifications_polylog(data &data) ircd::m::sync::room_unread_notifications_polylog(data &data)
{ {
auto &room{*data.room}; const auto &room{*data.room};
m::event::id::buf last_read; m::event::id::buf last_read;
if(!m::receipt::read(last_read, room.room_id, data.user)) if(!m::receipt::read(last_read, room.room_id, data.user))
return; return;