mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-18 18:12:18 +00:00
add automatic registration of chatgpt bot's user (if password is provided)
This commit is contained in:
parent
11ee949e9e
commit
87a74335f9
@ -4303,6 +4303,12 @@ matrix_user_creator_users_auto: |
|
||||
'initial_type': 'admin',
|
||||
}] if matrix_bot_matrix_registration_bot_enabled else [])
|
||||
+
|
||||
([{
|
||||
'username': matrix_bot_chatgpt_matrix_bot_username_localpart,
|
||||
'initial_password': matrix_bot_chatgpt_matrix_bot_password,
|
||||
'initial_type': 'bot',
|
||||
}] if matrix_bot_chatgpt_enabled and matrix_bot_chatgpt_matrix_bot_password | length > 0 else [])
|
||||
+
|
||||
([{
|
||||
'username': matrix_bot_matrix_reminder_bot_matrix_user_id_localpart,
|
||||
'initial_password': matrix_bot_matrix_reminder_bot_matrix_user_password,
|
||||
|
Loading…
Reference in New Issue
Block a user