diff options
author | Jason Robinson <jasonr@matrix.org> | 2019-09-09 14:43:51 +0300 |
---|---|---|
committer | Jason Robinson <jasonr@matrix.org> | 2019-09-09 14:48:08 +0300 |
commit | be618e055178f4aa9865ab426182218312bed07f (patch) | |
tree | f461866409ff89a023e615ad2ac521ca302668fd /synapse/handlers | |
parent | Servers-known-about statistic (#5981) (diff) | |
download | synapse-be618e055178f4aa9865ab426182218312bed07f.tar.xz |
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: Jason Robinson <jasonr@matrix.org>
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/register.py | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py |