Skip to content
Snippets Groups Projects
Commit be618e05 authored by Jason Robinson's avatar Jason Robinson
Browse files

Only count real users when checking for auto-creation of auto-join room


Previously if the first registered user was a "support" or "bot" user,
when the first real user registers, the auto-join rooms were not
created.

Fix to exclude non-real (ie users with a special user type) users
when counting how many users there are to determine whether we should
auto-create a room.

Signed-off-by: default avatarJason Robinson <jasonr@matrix.org>
parent 55d5b3af
No related branches found
No related tags found
Loading
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