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

Skip soft fail checks for rooms with partial state #13354

Merged
merged 1 commit into from
Jul 22, 2022

Commits on Jul 21, 2022

  1. Skip soft fail checks for rooms with partial state

    When a room has the partial state flag, we may not have an accurate
    `m.room.member` event for event senders in the room's current state, and
    so cannot perform soft fail checks correctly. Skip the soft fail check
    entirely in this case.
    
    As an alternative, we could block until we have full state, but that
    would prevent us from receiving incoming events over federation, which
    is undesirable.
    
    Signed-off-by: Sean Quah <seanq@matrix.org>
    Sean Quah committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    ad5d75e View commit details
    Browse the repository at this point in the history