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:
parent
4724110736
commit
d469015e95
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue