From eaf64ba7325b4251dea2544a71c3530be07d5fcb Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 4 Oct 2019 13:42:25 -0700 Subject: [PATCH] ircd::m: Reduce infolog noise here; fixes. --- matrix/homeserver.cc | 2 +- modules/m_room_power_levels.cc | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/matrix/homeserver.cc b/matrix/homeserver.cc index 2546f2935..bb3b346b0 100644 --- a/matrix/homeserver.cc +++ b/matrix/homeserver.cc @@ -812,7 +812,7 @@ try }; if(!exists(my_room)) - create(my_room, me, "internal"); + create(my_room, me); if(!membership(my_room, me, "join")) join(my_room, me); diff --git a/modules/m_room_power_levels.cc b/modules/m_room_power_levels.cc index 5dceaa358..e3e146a34 100644 --- a/modules/m_room_power_levels.cc +++ b/modules/m_room_power_levels.cc @@ -37,6 +37,9 @@ void ircd::m::changed_room_power_levels(const m::event &event, m::vm::eval &) { + if(myself(json::get<"sender"_>(event))) + return; + log::info { m::log, "%s changed power_levels in %s [%s]",