diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-06-14 18:27:37 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-14 18:27:37 +1000 |
commit | a61738b316db70a4184d5c355696e0a039e7867f (patch) | |
tree | caca1a3ef0267aad2827f2f46755161d41f2ad5a /synapse/handlers/message.py | |
parent | Merge pull request #3368 from matrix-org/rav/fix_federation_client_host (diff) | |
download | synapse-a61738b316db70a4184d5c355696e0a039e7867f.tar.xz |
Remove run_on_reactor (#3395)
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r-- | synapse/handlers/message.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 1cb81b6cf8..18dcc6d196 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -36,7 +36,7 @@ from synapse.events.validator import EventValidator from synapse.types import ( UserID, RoomAlias, RoomStreamToken, ) -from synapse.util.async import run_on_reactor, ReadWriteLock, Limiter +from synapse.util.async import ReadWriteLock, Limiter from synapse.util.logcontext import run_in_background from synapse.util.metrics import measure_func from synapse.util.frozenutils import frozendict_json_encoder @@ -959,9 +959,7 @@ class EventCreationHandler(object): event_stream_id, max_stream_id ) - @defer.inlineCallbacks def _notify(): - yield run_on_reactor() try: self.notifier.on_new_room_event( event, event_stream_id, max_stream_id, |