From aa3ba4193338d7dc1fe3dbbe2743581e7d66cced Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Wed, 3 Jul 2019 12:05:56 +0100 Subject: Default return value for events we're not interested in --- synapse/third_party_rules/access_rules.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/synapse/third_party_rules/access_rules.py b/synapse/third_party_rules/access_rules.py index d2530645c4..5307a15097 100644 --- a/synapse/third_party_rules/access_rules.py +++ b/synapse/third_party_rules/access_rules.py @@ -201,6 +201,8 @@ class RoomAccessRules(object): if event.type == EventTypes.Member or event.type == EventTypes.ThirdPartyInvite: return self._on_membership_or_invite(event, rule, state_events) + return True + def _on_rules_change(self, event, state_events): """Implement the checks and behaviour specified on allowing or forbidding a new im.vector.room.access_rules event. -- cgit 1.4.1