summary refs log tree commit diff
path: root/synapse/state.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-04-03 15:14:11 +0100
committerRichard van der Hoff <richard@matrix.org>2017-04-03 15:14:11 +0100
commit773e1c6d68223c787bff1da78baef519a70f8c3d (patch)
tree519bfbb2eb6d48ddbab59a2fef432855419419b4 /synapse/state.py
parentMerge pull request #2078 from APwhitehat/assertuserfriendly (diff)
downloadsynapse-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