瀏覽代碼

Disable riot-web's welcome bot

I've not found this welcome bot to work at all in my previous attempts.
It would simply not reply, even though federation works.

It seems like this is also a potential privacy issue, as per
https://gist.github.com/maxidorius/5736fd09c9194b7a6dc03b6b8d7220d0
pull/204/head
Slavi Pantaleev 7 年之前
父節點
當前提交
3956b300ed
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. +2
    -0
      group_vars/matrix_servers
  2. +1
    -1
      roles/matrix-riot-web/templates/config.json.j2

+ 2
- 0
group_vars/matrix_servers 查看文件

@@ -438,6 +438,8 @@ matrix_riot_web_enable_presence_by_hs_url: |
else {matrix_riot_web_default_hs_url: false} else {matrix_riot_web_default_hs_url: false}
}} }}


matrix_riot_web_welcome_user_id: ~

###################################################################### ######################################################################
# #
# /matrix-riot-web # /matrix-riot-web


+ 1
- 1
roles/matrix-riot-web/templates/config.json.j2 查看文件

@@ -14,7 +14,7 @@
"roomDirectory": { "roomDirectory": {
"servers": {{ matrix_riot_web_roomdir_servers|to_json }} "servers": {{ matrix_riot_web_roomdir_servers|to_json }}
}, },
"welcomeUserId": {{ matrix_riot_web_welcome_user_id|string|to_json }},
"welcomeUserId": {{ matrix_riot_web_welcome_user_id|to_json }},
{% if matrix_riot_web_enable_presence_by_hs_url is not none %} {% if matrix_riot_web_enable_presence_by_hs_url is not none %}
"enable_presence_by_hs_url": {{ matrix_riot_web_enable_presence_by_hs_url|to_json }}, "enable_presence_by_hs_url": {{ matrix_riot_web_enable_presence_by_hs_url|to_json }},
{% endif %} {% endif %}


Loading…
取消
儲存