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

Faster joins: Fix spurious errors on incremental sync #15232

Merged
merged 1 commit into from
Mar 9, 2023

Commits on Mar 8, 2023

  1. Faster joins: Fix spurious errors on incremental sync

    When pushing events in partial state rooms down incremental /sync, we
    try to find the `m.room.member` state event for their senders by digging
    through their auth events, so that we can present the membership to the
    client. Events usually have a membership event in their auth events,
    with the exception of the `m.room.create` event and a user's first join
    into the room.
    
    When implementing #13477, we took the case of a user's first join into
    account, but forgot to handle the `m.room.create` case. This change
    fixes that.
    
    Signed-off-by: Sean Quah <seanq@matrix.org>
    Sean Quah committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    8f5f5d4 View commit details
    Browse the repository at this point in the history