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

Faster room joins: Fix spurious error when joining a room #13872

Merged
merged 1 commit into from
Sep 27, 2022

Commits on Sep 22, 2022

  1. Faster room joins: Fix spurious error when joining a room

    During a `lazy_load_members` `/sync`, we look through auth events in
    rooms with partial state to find prior membership events. When such a
    membership is not found, an error is logged.
    
    Since the first join event for a user never has a prior membership event
    to cite, the error would always be logged when one appeared in the room
    timeline.
    
    Avoid logging errors for such events.
    
    Signed-off-by: Sean Quah <seanq@matrix.org>
    Sean Quah committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    fc2598a View commit details
    Browse the repository at this point in the history