diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-11-14 08:13:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 08:13:11 -0500 |
commit | fb66fae84b165e7bd132bc7cbc5732485ceee827 (patch) | |
tree | c28f4fd1d572dd7497e0f181eb9bc05d8053edcb /synapse/storage/controllers | |
parent | Bump gitpython from 3.1.27 to 3.1.29 (#14429) (diff) | |
download | synapse-fb66fae84b165e7bd132bc7cbc5732485ceee827.tar.xz |
Clean-up events persistance code (#14411)
By removing unused variables and making some arguments required which are always provided.
Diffstat (limited to 'synapse/storage/controllers')
-rw-r--r-- | synapse/storage/controllers/persist_events.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/storage/controllers/persist_events.py b/synapse/storage/controllers/persist_events.py index 06e71a8053..48976dc570 100644 --- a/synapse/storage/controllers/persist_events.py +++ b/synapse/storage/controllers/persist_events.py @@ -716,8 +716,6 @@ class EventsPersistenceStorageController: ) if not is_still_joined: logger.info("Server no longer in room %s", room_id) - latest_event_ids = set() - current_state = {} delta.no_longer_in_room = True state_delta_for_room[room_id] = delta |