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

Fix 404 on /sync when the last event is a redaction of an unknown/purged event #12905

Merged
merged 8 commits into from
Jun 1, 2022

Commits on May 28, 2022

  1. Fix get_metadata_for_events

    This method was introduced in #12852. It is using the `state_key` column from
    the `events` table, which is not (yet) reliable (see #11496).
    richvdh committed May 28, 2022
    Configuration menu
    Copy the full SHA
    59488c8 View commit details
    Browse the repository at this point in the history
  2. Refactor /state handler to avoid filter_events_for_client

    We don't need most of `filter_events_for_client`, and it actually gives us the
    wrong result in a number of cases. Instead, we just roll our own method for
    checking if the state should be visible.
    richvdh committed May 28, 2022
    Configuration menu
    Copy the full SHA
    19199ae View commit details
    Browse the repository at this point in the history
  3. Refactor get_state_after_event to take an event id

    We don't really need the event itself, so lets do without it.
    richvdh committed May 28, 2022
    Configuration menu
    Copy the full SHA
    cb83e8e View commit details
    Browse the repository at this point in the history
  4. Return event id from get_last_event_in_room_before_stream_ordering

    ... since the event itself is never used now.
    richvdh committed May 28, 2022
    Configuration menu
    Copy the full SHA
    4179094 View commit details
    Browse the repository at this point in the history
  5. changelog

    richvdh committed May 28, 2022
    Configuration menu
    Copy the full SHA
    e8ff139 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2022

  1. Configuration menu
    Copy the full SHA
    5f39921 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2022

  1. Configuration menu
    Copy the full SHA
    ddd5606 View commit details
    Browse the repository at this point in the history
  2. Fix incorrect merge

    richvdh committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    d476e12 View commit details
    Browse the repository at this point in the history