Skip to content
Snippets Groups Projects
Forked from Maunium / synapse
2295 commits behind the upstream repository.
  • Sean Quah's avatar
    caf43c3d
    Faster joins: Fix spurious errors on incremental sync (#15232) · caf43c3d
    Sean Quah authored
    
    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: default avatarSean Quah <seanq@matrix.org>
    Faster joins: Fix spurious errors on incremental sync (#15232)
    Sean Quah authored
    
    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: default avatarSean Quah <seanq@matrix.org>
15232.bugfix 123 B
Faster joins: Fix a bug introduced in Synapse 1.66 where spurious "Failed to find memberships ..." errors would be logged.