Add some explanation to application_services.md (#7091)

Signed-off-by: Simon Körner <git@lubiland.de>
This commit is contained in:
lub 2020-04-27 16:03:09 +02:00 committed by GitHub
parent cc9eceb00d
commit aa2492907f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

1
changelog.d/7091.doc Normal file
View File

@ -0,0 +1 @@
Improve the documentation of application service configuration files.

View File

@ -23,9 +23,13 @@ namespaces:
users: # List of users we're interested in users: # List of users we're interested in
- exclusive: <bool> - exclusive: <bool>
regex: <regex> regex: <regex>
group_id: <group>
- ... - ...
aliases: [] # List of aliases we're interested in aliases: [] # List of aliases we're interested in
rooms: [] # List of room ids we're interested in rooms: [] # List of room ids we're interested in
``` ```
`exclusive`: If enabled, only this application service is allowed to register users in its namespace(s).
`group_id`: All users of this application service are dynamically joined to this group. This is useful for e.g user organisation or flairs.
See the [spec](https://matrix.org/docs/spec/application_service/unstable.html) for further details on how application services work. See the [spec](https://matrix.org/docs/spec/application_service/unstable.html) for further details on how application services work.