forked from MirrorHub/synapse
Remove needless PreserveLoggingContext
This commit is contained in:
parent
9e982750ee
commit
e5f0e58931
1 changed files with 4 additions and 5 deletions
|
@ -823,11 +823,10 @@ class FederationHandler(BaseHandler):
|
||||||
)
|
)
|
||||||
|
|
||||||
target_user = UserID.from_string(event.state_key)
|
target_user = UserID.from_string(event.state_key)
|
||||||
with PreserveLoggingContext():
|
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=[target_user],
|
||||||
extra_users=[target_user],
|
)
|
||||||
)
|
|
||||||
|
|
||||||
defer.returnValue(event)
|
defer.returnValue(event)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue