mirror of https://github.com/watcha-fr/synapse
Remove spurious @preserve_fn decorators
Remove `@preserve_fn` decorators on `on_new_room_event`, `_notify_pending_new_room_events`, `_on_new_room_event`, `on_new_event`, and `on_new_replication_data` - none of these functions return a deferred, and the decorator does nothing unless the wrapped function returns a deferred, so the decorator was a no-op.pull/4/merge
parent
8a240e4f9c
commit
773e1c6d68
Loading…
Reference in new issue