Skip to content
Snippets Groups Projects
Unverified Commit 85e16163 authored by Sean Quah's avatar Sean Quah Committed by GitHub
Browse files

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


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.

Introduced in #13477.

Signed-off-by: default avatarSean Quah <seanq@matrix.org>
parent d6b85a2a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment