mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 20:45:48 +00:00
Make matrix_bot_postmoogle_admins=[] when matrix_admin not set
.. instead of `['']`. The final result in the `env` file will be the same (`POSTMOOGLE_ADMINS=`) in both cases, but it's better to avoid confusion.
This commit is contained in:
parent
720b340618
commit
09d4a9beab
@ -82,6 +82,7 @@ matrix_bot_postmoogle_maxsize: '1024'
|
|||||||
# A list of whitelisted users allowed to use the bridge.
|
# A list of whitelisted users allowed to use the bridge.
|
||||||
# If not defined, everyone is allowed.
|
# If not defined, everyone is allowed.
|
||||||
# Example set of rules:
|
# Example set of rules:
|
||||||
|
# matrix_bot_postmoogle_users:
|
||||||
# - @someone:example.com
|
# - @someone:example.com
|
||||||
# - @another:example.com
|
# - @another:example.com
|
||||||
# - @bot.*:example.com
|
# - @bot.*:example.com
|
||||||
@ -91,12 +92,12 @@ matrix_bot_postmoogle_users:
|
|||||||
|
|
||||||
# A list of admins
|
# A list of admins
|
||||||
# Example set of rules:
|
# Example set of rules:
|
||||||
|
# matrix_bot_postmoogle_admins:
|
||||||
# - @someone:example.com
|
# - @someone:example.com
|
||||||
# - @another:example.com
|
# - @another:example.com
|
||||||
# - @bot.*:example.com
|
# - @bot.*:example.com
|
||||||
# - @*:another.com
|
# - @*:another.com
|
||||||
matrix_bot_postmoogle_admins:
|
matrix_bot_postmoogle_admins: "{{ [matrix_admin] if matrix_admin else [] }}"
|
||||||
- "{{ matrix_admin }}"
|
|
||||||
|
|
||||||
# Sentry DSN
|
# Sentry DSN
|
||||||
matrix_bot_postmoogle_sentry: ''
|
matrix_bot_postmoogle_sentry: ''
|
||||||
|
Loading…
Reference in New Issue
Block a user