mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-10-15 16:59:43 +02:00
create draupnir bot user with type = admin when matrix_bot_draupnir_admin_api_enabled = true
This commit is contained in:
@@ -6099,7 +6099,7 @@ matrix_user_creator_users_auto: |
|
||||
([{
|
||||
'username': matrix_bot_draupnir_login,
|
||||
'initial_password': matrix_bot_draupnir_password,
|
||||
'initial_type': 'bot',
|
||||
'initial_type': ('admin' if matrix_bot_draupnir_admin_api_enabled else 'bot'),
|
||||
}] if matrix_bot_draupnir_enabled and matrix_bot_draupnir_password else [])
|
||||
}}
|
||||
|
||||
|
Reference in New Issue
Block a user