0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

modules/m_receipt: Fix additional json::undefined_number related.

This commit is contained in:
Jason Volk 2018-05-23 01:32:21 -07:00
parent 31ceecc838
commit 8a65e1d077

View file

@ -164,7 +164,7 @@ try
};
m::event receipt;
json::get<"depth"_>(receipt) = std::numeric_limits<int64_t>::max();
json::get<"depth"_>(receipt) = json::undefined_number;
json::get<"type"_>(receipt) = "m.receipt";
json::get<"room_id"_>(receipt) = room_id;
json::get<"sender"_>(receipt) = user_id;