0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

modules/client/sync/device_one_time_keys_count: Fix error.

This commit is contained in:
Jason Volk 2019-08-10 23:01:25 -07:00
parent 2a7dc12386
commit 84d4b091fe

View file

@ -52,7 +52,7 @@ ircd::m::sync::device_one_time_keys_count_linear(data &data)
if(json::get<"state_key"_>(*data.event) != data.device_id)
return false;
if(json::get<"room_id"_>(*data.event) != data.user_room);
if(json::get<"room_id"_>(*data.event) != data.user_room)
return false;
const json::object &one_time_keys