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

modules/client/sync/rooms/ephemeral/receipt: Filter my origin only.

This commit is contained in:
Jason Volk 2019-02-27 18:08:42 -08:00
parent 4724110736
commit d469015e95

View file

@ -38,6 +38,9 @@ ircd::m::sync::room_ephemeral_m_receipt_m_read_linear(data &data)
if(json::get<"type"_>(*data.event) != "m.receipt")
return false;
if(!my_host(json::get<"origin"_>(*data.event)))
return false;
_handle_message_receipt(data, *data.event);
return true;
}