Default rooms for new members #347

Open
opened 2023-04-14 23:44:28 +00:00 by zanny · 2 comments
zanny commented 2023-04-14 23:44:28 +00:00 (Migrated from gitlab.com)

Synapse has a configuration option to place new registrants on a server in a set of rooms automatically. It would be nice to have the same functionality in Conduit.

Describe the solution you'd like

The toml configuration file could include the parameter, possibly in this form:

auto_join_rooms = ["!hieCohngooc1ahluuphm", "!aerah9aephohChoh3oh", "home"]

The format could be a full canonical room name or just the concatenated first part, since we probably don't want to allow auto joins of rooms on other instances for courtesies sake. It would accept internal ids or named rooms.

There are additional parameters in Synapse to control the auto generation of such rooms - that sounds a bit over-engineered to me, and it might make more sense to log a warning on user creation if any of the auto_join_rooms do not exist and just proceed. We could also emit a startup warning when parsing the config if any of the declared rooms do not exist. But the minimum functionality should be fairly straightforward to implement.

<!-- If you want to report a bug or an error, then please consider filling out a "Bug Report" instead! --> ### Is your feature request related to a problem? Please describe. <!-- Eg. I'm always frustrated when [...] --> [Synapse has a configuration option to place new registrants on a server in a set of rooms automatically.](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#auto_join_rooms) It would be nice to have the same functionality in Conduit. ### Describe the solution you'd like The toml configuration file could include the parameter, possibly in this form: ```toml auto_join_rooms = ["!hieCohngooc1ahluuphm", "!aerah9aephohChoh3oh", "home"] ``` The format could be a full canonical room name or just the concatenated first part, since we probably don't want to allow auto joins of rooms on other instances for courtesies sake. It would accept internal ids or named rooms. There are additional parameters in Synapse to control the auto generation of such rooms - that sounds a bit over-engineered to me, and it might make more sense to log a warning on user creation if any of the auto_join_rooms do not exist and just proceed. We could also emit a startup warning when parsing the config if any of the declared rooms do not exist. But the minimum functionality should be fairly straightforward to implement.
CobaltCause commented 2024-01-24 23:57:17 +00:00 (Migrated from gitlab.com)

mentioned in issue #413

mentioned in issue #413
timokoesters commented 2024-01-28 19:40:34 +00:00 (Migrated from gitlab.com)

I would like to combine this feature with the registration tokens, so when you can configure which rooms you join for each registration token you create.

I would like to combine this feature with the registration tokens, so when you can configure which rooms you join for each registration token you create.
Sign in to join this conversation.
No labels
Android
CS::needs customer feedback
CS::needs follow up
CS::needs on prem installation
CS::waiting
Chrome
Design:: Ready
Design:: in progress
Design::UX
E2EE
Edge
Firefox
GDPR
Iteration 13 IM
Linux
MacOS
Need::Discussion
Need::Steps to reproduce
Need::Upstream fix
Needs:: Planning
Needs::Dev-Team
Needs::More information
Needs::Priority
Needs::Product
Needs::Refinement
Needs::Severity
Priority::1-Critical
Priority::2-Max
Priority::3-Impending
Priority::4-High
Priority::5-Medium
Priority::6-Low
Priority::7-None
Progress::Backlog
Progress::Review
Progress::Started
Progress::Testing
Progress::Triage
Progress::Waiting
Reporter::Sentry
Safari
Target::Community
Target::Customer
Target::Internal
Target::PoC
Target::Security
Team:Customer-Success
Team:Design
Team:Infrastructure
Team:Instant-Messaging
Team:Product
Team:Workflows
Type::Bug
Type::Design
Type::Documentation
Type::Feature
Type::Improvement
Type::Support
Type::Tests
Windows
blocked
blocked-by-spec
cla-signed
conduit
contribution::advanced
contribution::easy
contribution::help needed
from::review
iOS
p::ti-tenant
performance
product::triage
proposal
refactor
release-blocker
s: dart_openapi_codegen
s::Famedly-Patient
s::Org-Directory
s::Passport-Generator
s::Requeuest
s:CRM
s:Famedly-App
s:Famedly-Web
s:Fhiroxide
s:Fhiroxide-cli
s:Fhiroxide-client
s:Fhirs
s:Hedwig
s:LISA
s:Matrix-Dart-SDK
s:Role-Manager
s:Synapse
s:User-Directory
s:WFS-Matrix
s:Workflow Engine
s:dtls
s:famedly-error
s:fcm-shared-isolate
s:matrix-api-lite
s:multiple-tab-detector
s:native-imaging
severity::1
severity::2
severity::3
severity::4
technical-debt
voip
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Matthias/conduit#347
No description provided.