0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

modules/client/sync/rooms/ephemeral/receipt: Fix competing receipt formats.

This commit is contained in:
Jason Volk 2019-02-27 18:36:34 -08:00
parent 2192ee4f89
commit a13ffd8978

View file

@ -41,7 +41,12 @@ ircd::m::sync::room_ephemeral_m_receipt_m_read_linear(data &data)
if(json::get<"type"_>(*data.event) != "m.receipt")
return false;
_handle_message_receipt(data, *data.event);
json::stack::object object
{
*data.out
};
object.append(*data.event);
return true;
}