mirror of
https://github.com/matrix-org/synapse.git
synced 2025-08-22 06:51:15 +02:00
Remove spurious PreserveLoggingContext
In `on_new_room_event`, remove `PreserveLoggingContext` - we can call its subroutines with the logcontext set.
This commit is contained in:
parent
feb496056e
commit
65e1683680
@ -215,7 +215,6 @@ class Notifier(object):
|
||||
until all previous events have been persisted before notifying
|
||||
the client streams.
|
||||
"""
|
||||
with PreserveLoggingContext():
|
||||
self.pending_new_room_events.append((
|
||||
room_stream_id, event, extra_users
|
||||
))
|
||||
|
Loading…
x
Reference in New Issue
Block a user