mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-10 04:37:36 +01:00
Do not use command_prefix = default for Meta bridges anymore
Seems like `default` is not a supported value and will not make the bridge autoconfigure itself with the correct prefix anymore. A value of `default` would be taken literally.
This commit is contained in:
parent
d3b1060428
commit
aee7d2ca6c
@ -194,10 +194,15 @@ matrix_mautrix_meta_instagram_bridge_displayname_suffix: |-
|
|||||||
matrix_mautrix_meta_instagram_bridge_displayname_template: '{% raw %}{{or .DisplayName .Username "Unknown user"}}{% endraw %}{{ (" " ~ matrix_mautrix_meta_instagram_bridge_displayname_suffix) if matrix_mautrix_meta_instagram_bridge_displayname_suffix else "" }}'
|
matrix_mautrix_meta_instagram_bridge_displayname_template: '{% raw %}{{or .DisplayName .Username "Unknown user"}}{% endraw %}{{ (" " ~ matrix_mautrix_meta_instagram_bridge_displayname_suffix) if matrix_mautrix_meta_instagram_bridge_displayname_suffix else "" }}'
|
||||||
|
|
||||||
# The prefix for commands. Only required in non-management rooms.
|
# The prefix for commands. Only required in non-management rooms.
|
||||||
# If set to "default", will be determined based on meta -> mode (`matrix_mautrix_meta_instagram_meta_mode`):
|
matrix_mautrix_meta_instagram_bridge_command_prefix: |-
|
||||||
# - "!ig" for instagram
|
{{
|
||||||
# - "!fb" for facebook
|
({
|
||||||
matrix_mautrix_meta_instagram_bridge_command_prefix: default
|
'facebook': '!fb',
|
||||||
|
'facebook-tor': '!fb',
|
||||||
|
'messenger': '!fb',
|
||||||
|
'instagram': '!ig',
|
||||||
|
})[matrix_mautrix_meta_instagram_meta_mode]
|
||||||
|
}}
|
||||||
|
|
||||||
# Whether or not created rooms should have federation enabled.
|
# Whether or not created rooms should have federation enabled.
|
||||||
# If false, created portal rooms will never be federated.
|
# If false, created portal rooms will never be federated.
|
||||||
|
@ -194,10 +194,15 @@ matrix_mautrix_meta_messenger_bridge_displayname_suffix: |-
|
|||||||
matrix_mautrix_meta_messenger_bridge_displayname_template: '{% raw %}{{or .DisplayName .Username "Unknown user"}}{% endraw %}{{ (" " ~ matrix_mautrix_meta_messenger_bridge_displayname_suffix) if matrix_mautrix_meta_messenger_bridge_displayname_suffix else "" }}'
|
matrix_mautrix_meta_messenger_bridge_displayname_template: '{% raw %}{{or .DisplayName .Username "Unknown user"}}{% endraw %}{{ (" " ~ matrix_mautrix_meta_messenger_bridge_displayname_suffix) if matrix_mautrix_meta_messenger_bridge_displayname_suffix else "" }}'
|
||||||
|
|
||||||
# The prefix for commands. Only required in non-management rooms.
|
# The prefix for commands. Only required in non-management rooms.
|
||||||
# If set to "default", will be determined based on meta -> mode (`matrix_mautrix_meta_messenger_meta_mode`):
|
matrix_mautrix_meta_messenger_bridge_command_prefix: |-
|
||||||
# - "!ig" for instagram
|
{{
|
||||||
# - "!fb" for facebook
|
({
|
||||||
matrix_mautrix_meta_messenger_bridge_command_prefix: default
|
'facebook': '!fb',
|
||||||
|
'facebook-tor': '!fb',
|
||||||
|
'messenger': '!fb',
|
||||||
|
'instagram': '!ig',
|
||||||
|
})[matrix_mautrix_meta_messenger_meta_mode]
|
||||||
|
}}
|
||||||
|
|
||||||
# Whether or not created rooms should have federation enabled.
|
# Whether or not created rooms should have federation enabled.
|
||||||
# If false, created portal rooms will never be federated.
|
# If false, created portal rooms will never be federated.
|
||||||
|
Loading…
Reference in New Issue
Block a user