diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-04-03 15:44:19 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-04-03 15:44:19 +0100 |
commit | 7eb9f34cc3c2845a0ef35c9524f7ecc14339f7c1 (patch) | |
tree | cd0c0f7248407f295ad874d5bfe32d5be76fcf4c /synapse | |
parent | Remove more spurious `PreserveLoggingContext`s (diff) | |
download | synapse-7eb9f34cc3c2845a0ef35c9524f7ecc14339f7c1.tar.xz |
Remove spurious yield
In `MessageHandler`, remove `yield` on call to `Notifier.on_new_room_event`: it doesn't return anything anyway.
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/message.py | 2 |
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 ) |