mirror of
https://github.com/element-hq/synapse
synced 2024-09-04 13:40:07 +00:00
Remove spurious yield
In `MessageHandler`, remove `yield` on call to `Notifier.on_new_room_event`: it doesn't return anything anyway.
This commit is contained in:
parent
0b08c48fc5
commit
7eb9f34cc3
1 changed files with 1 additions and 1 deletions
|
@ -612,7 +612,7 @@ class MessageHandler(BaseHandler):
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def _notify():
|
def _notify():
|
||||||
yield run_on_reactor()
|
yield run_on_reactor()
|
||||||
yield self.notifier.on_new_room_event(
|
self.notifier.on_new_room_event(
|
||||||
event, event_stream_id, max_stream_id,
|
event, event_stream_id, max_stream_id,
|
||||||
extra_users=extra_users
|
extra_users=extra_users
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue