mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 09:49:26 -05:00
Remove needless PreserveLoggingContext
This commit is contained in:
parent
9e982750ee
commit
e5f0e58931
@ -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 New Issue
Block a user