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:
parent
31ceecc838
commit
8a65e1d077
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue