Remove needless PreserveLoggingContext

This commit is contained in:
Erik Johnston 2016-03-15 13:48:40 +00:00
parent 9e982750ee
commit e5f0e58931

View file

@ -823,11 +823,10 @@ class FederationHandler(BaseHandler):
)
target_user = UserID.from_string(event.state_key)
with PreserveLoggingContext():
self.notifier.on_new_room_event(
event, event_stream_id, max_stream_id,
extra_users=[target_user],
)
self.notifier.on_new_room_event(
event, event_stream_id, max_stream_id,
extra_users=[target_user],
)
defer.returnValue(event)