Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Remove a bunch of unused code from event creation #6629

Merged
merged 8 commits into from
Jan 6, 2020

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jan 3, 2020

As per #6574, we were carefully pulling the event hashes out of event_reference_hashes and then throwing them away. We can simplify this. Sadly we can't kill off event_reference_hashes altogether because it turns out to be used elsewhere after all.

This PR is a series of commits each of which stands alone.

@richvdh richvdh requested a review from a team January 3, 2020 16:57
@richvdh richvdh force-pushed the rav/kill_event_reference_hashes branch 2 times, most recently from 964123f to 27b58cb Compare January 6, 2020 13:41
@richvdh richvdh force-pushed the rav/kill_event_reference_hashes branch from 27b58cb to 550b294 Compare January 6, 2020 13:45
@richvdh richvdh merged commit 1807db5 into develop Jan 6, 2020
@richvdh richvdh deleted the rav/kill_event_reference_hashes branch January 6, 2020 17:46
babolivier pushed a commit that referenced this pull request Sep 1, 2021
* commit '1807db5e7':
  changelog
  Remove unused get_latest_event_ids_and_hashes_in_room
  Remove unused get_prev_events_and_hashes_for_room
  Remove unused hashes and depths from _update_membership params
  Remove unused hashes and depths from create_event params
  Remove unused hashes and depths from create_new_client_event params
  replace get_prev_events_and_hashes_for_room with get_prev_events_for_room in create_new_client_event
  rename get_prev_events_for_room to get_prev_events_and_hashes_for_room
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants