diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-04-03 15:14:11 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-04-03 15:14:11 +0100 |
commit | 773e1c6d68223c787bff1da78baef519a70f8c3d (patch) | |
tree | 519bfbb2eb6d48ddbab59a2fef432855419419b4 /synapse/state.py | |
parent | Merge pull request #2078 from APwhitehat/assertuserfriendly (diff) | |
download | synapse-773e1c6d68223c787bff1da78baef519a70f8c3d.tar.xz |
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.
Diffstat (limited to 'synapse/state.py')
0 files changed, 0 insertions, 0 deletions