diff options
author | Neil Johnson <neil@fragile.org.uk> | 2018-08-18 12:31:08 +0100 |
---|---|---|
committer | Neil Johnson <neil@fragile.org.uk> | 2018-08-18 12:31:08 +0100 |
commit | ba1fbf7d5bd8807e892de6de4bc82cb5e49581bd (patch) | |
tree | 0a75f7ff827a4ecee62198d0775459681ad79a92 /synapse/server_notices | |
parent | clean up, no functional changes (diff) | |
download | synapse-ba1fbf7d5bd8807e892de6de4bc82cb5e49581bd.tar.xz |
special case server_notices_mxid
Diffstat (limited to 'synapse/server_notices')
-rw-r--r-- | synapse/server_notices/resource_limits_server_notices.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/server_notices/resource_limits_server_notices.py b/synapse/server_notices/resource_limits_server_notices.py index 5987e448b2..84b91aeb5d 100644 --- a/synapse/server_notices/resource_limits_server_notices.py +++ b/synapse/server_notices/resource_limits_server_notices.py @@ -173,7 +173,7 @@ class ResourceLimitsServerNotices(object): referenced_events = pinned_state_event.content.get('pinned') events = yield self._store.get_events(referenced_events) - for event_id, event in events.iteritems(): + for event_id, event in iteritems(events): if event.type == EventTypes.ServerNoticeLimitReached: currently_blocked = True # remove event in case we need to disable blocking later on. |