summary refs log tree commit diff
path: root/synapse/handlers/directory.py
diff options
context:
space:
mode:
authorJason Robinson <jasonr@matrix.org>2019-09-09 14:43:51 +0300
committerJason Robinson <jasonr@matrix.org>2019-09-09 14:48:08 +0300
commitbe618e055178f4aa9865ab426182218312bed07f (patch)
treef461866409ff89a023e615ad2ac521ca302668fd /synapse/handlers/directory.py
parentServers-known-about statistic (#5981) (diff)
downloadsynapse-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/directory.py')
0 files changed, 0 insertions, 0 deletions