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:
parent
2192ee4f89
commit
a13ffd8978
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue