diff --git a/ircd/m_event.cc b/ircd/m_event.cc index fed25dad8..102fbeea0 100644 --- a/ircd/m_event.cc +++ b/ircd/m_event.cc @@ -3947,10 +3947,13 @@ bool ircd::m::my(const event &event) { const auto &origin(json::get<"origin"_>(event)); + const auto &sender(json::get<"sender"_>(event)); const auto &eid(event.event_id); return origin? my_host(origin): + sender? + my_host(user::id(sender).host()): eid? my(event::id(eid)): false;