-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
"auto_join_rooms" seems not working #2725
Comments
Did you use the built-in script or Riot? It seems to only work if not using the built-in script. |
Thanks for your help @turt2live but could you specify what you mean with "buit-in script"? I've just added the option |
The build in script is |
Oh I understand. I didn't enable register option via riot on my homeserver because manual says it shouldn't be used without a captcha. Unfortunately the supported captcha uses Google services and if I use Google services for a privacy focused messenger service for me the whole effort maintaining the server makes much less sense. Anyway: if |
Well, there's valid arguments for either in my opinion. To please both sides, an opt-in parameter could be specified so that other registration methods can make use of the parameter (like external authentication systems or automation scripts). |
Hi there! Best regards, M |
synapse/synapse/rest/client/v2_alpha/register.py Lines 410 to 412 in 3e839e0
I could not find another appearance of
Hopefully sb. takes this notes and implements that so it works for all 3 cases |
Currently the handling of auto_join_rooms only works when a user registers itself via public register api. Registrations via registration_shared_secret and ModuleApi do not work This auto_joins the users in the registration handler which enables the auto join feature for all 3 registration paths. This is related to issue matrix-org#2725 Signed-Off-by: Matthias Kesler <krombel@krombel.de>
Any chance somebody could write a sytest for this to make sure it doesn't regress? |
Sry for my late reply. Didn't manage to retest with 0.28 but today I noticed it works with 0.30 after registering a new user. But it still does not work for existing users. |
It is only supposed to work for new users. Although there's an argument to be had for whether an additional parameter should be available to always force joins (or prevent leaving). |
Forcing users to stay in a room provokes resistance... people don't like the feeling to be forced to be in a room. Anyway: It would be better if auto_join_rooms would effect all users of a server. It is up to the users to stay or to leave. |
sounds like it's working as designed |
Description
I want to use
auto_join_rooms
but is has no effect for new registered users.Steps to reproduce
Synapse/0.25.1
to myhomeserver.yaml
, defined in this way:#serverinfo:my.ddns.net
not#helpdesk:my.ddns.net
.Version information
Synapse/0.25.1
The text was updated successfully, but these errors were encountered: