Skip to content
Snippets Groups Projects
Unverified Commit b83e8225 authored by David Robertson's avatar David Robertson Committed by GitHub
Browse files

Stop user directory from failing if it encounters users not in the `users` table. (#11053)


The following scenarios would halt the user directory updater:

- user joins room
- user leaves room
- user present in room which switches from private to public, or vice versa.

for two classes of users:

- appservice senders
- users missing from the user table.

If this happened, the user directory would be stuck, unable to make forward progress.

Exclude both cases from the user directory, so that we ignore them.

Co-authored-by: default avatarEric Eastwood <erice@element.io>
Co-authored-by: default avatarreivilibre <oliverw@matrix.org>
Co-authored-by: default avatarSean Quah <8349537+squahtx@users.noreply.github.com>
Co-authored-by: default avatarBrendan Abolivier <babolivier@matrix.org>
parent 1db9282d
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