Преглед изворни кода

Dendrite: Support for Mautrix Facebook

Warning: Logging into Facebook might break your server due to backfilling. Please consider Facebook support experimental, for now. Further investigation is needed.
pull/2044/head
ahmet пре 3 година
родитељ
комит
42ef2bc784
1 измењених фајлова са 15 додато и 1 уклоњено
  1. +15
    -1
      roles/matrix-bridge-mautrix-facebook/tasks/init.yml

+ 15
- 1
roles/matrix-bridge-mautrix-facebook/tasks/init.yml Прегледај датотеку

@@ -10,8 +10,8 @@
matrix_systemd_services_list: "{{ matrix_systemd_services_list + ['matrix-mautrix-facebook.service'] }}"
when: matrix_mautrix_facebook_enabled | bool

# If the matrix-synapse role is not used, these variables may not exist.
- ansible.builtin.set_fact:
# If the matrix-synapse role is not used, these variables may not exist.
matrix_synapse_container_extra_arguments: >
{{
matrix_synapse_container_extra_arguments | default([])
@@ -25,6 +25,20 @@
+
["/matrix-mautrix-facebook-registration.yaml"]
}}
# If the matrix-dendrite role is not used, these variables may not exist.
matrix_dendrite_container_extra_arguments: >
{{
matrix_dendrite_container_extra_arguments | default([])
+
["--mount type=bind,src={{ matrix_mautrix_facebook_config_path }}/registration.yaml,dst=/matrix-mautrix-facebook-registration.yaml,ro"]
}}

matrix_dendrite_app_service_config_files: >
{{
matrix_dendrite_app_service_config_files | default([])
+
["/matrix-mautrix-facebook-registration.yaml"]
}}
when: matrix_mautrix_facebook_enabled | bool

- block:


Loading…
Откажи
Сачувај