summary refs log tree commit diff
path: root/synapse/handlers/message.py
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2017-04-03 17:02:25 +0100
committerGitHub <noreply@github.com>2017-04-03 17:02:25 +0100
commit773e64cc1a381cdd12e8f3dd9a03eae0f34c35a6 (patch)
treed45818d4976fb63c40652647cc0bf64d9a891111 /synapse/handlers/message.py
parentMerge remote-tracking branch 'origin/release-v0.20.0' into develop (diff)
parentRemove spurious yield (diff)
downloadsynapse-773e64cc1a381cdd12e8f3dd9a03eae0f34c35a6.tar.xz
Merge pull request #2095 from matrix-org/rav/cull_log_preserves
Cull spurious PreserveLoggingContexts
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r--synapse/handlers/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index 7a498af5a2..348056add5 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -612,7 +612,7 @@ class MessageHandler(BaseHandler):
         @defer.inlineCallbacks
         def _notify():
             yield run_on_reactor()
-            yield self.notifier.on_new_room_event(
+            self.notifier.on_new_room_event(
                 event, event_stream_id, max_stream_id,
                 extra_users=extra_users
             )