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

Inline _check_event_auth for outliers #10926

Commits on Sep 24, 2021

  1. Inline _check_event_auth for outliers

    When we are persisting an outlier, most of `_check_event_auth` is redundant:
    
     * `_update_auth_events_and_context_for_auth` does nothing, because the
       `input_auth_events` are (now) exactly the event's auth_events,
       which means that `missing_auth` is empty.
    
     * we don't care about soft-fail, kicking guest users or `send_on_behalf_of`
       for outliers
    
    ... so the only thing that matters is the auth itself, so let's just do that.
    richvdh committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    299da1f View commit details
    Browse the repository at this point in the history
  2. _auth_and_persist_fetched_events_inner: de-async prep

    `prep` no longer calls any `async` methods, so let's make it synchronous.
    richvdh committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    0f7750b View commit details
    Browse the repository at this point in the history
  3. Simplify _check_event_auth

    We no longer need to support outliers here, which makes things rather simpler.
    richvdh committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    a9e228e View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2021

  1. changelog

    richvdh committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    2e7d8d7 View commit details
    Browse the repository at this point in the history
  2. lint

    richvdh committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    def567d View commit details
    Browse the repository at this point in the history