0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-01 02:14:13 +01:00

modules/federation/send: Disable notifies for edu evals.

This commit is contained in:
Jason Volk 2019-02-27 18:07:38 -08:00
parent 9e063bbf83
commit b9cf3e6c18

View file

@ -47,6 +47,8 @@ handle_edu(client &client,
json::get<"depth"_>(event) = json::undefined_number;
m::vm::opts vmopts;
vmopts.notify_clients = false;
vmopts.notify_servers = false;
vmopts.non_conform.set(m::event::conforms::INVALID_OR_MISSING_EVENT_ID);
vmopts.non_conform.set(m::event::conforms::INVALID_OR_MISSING_ROOM_ID);
vmopts.non_conform.set(m::event::conforms::INVALID_OR_MISSING_SENDER_ID);