瀏覽代碼

Set Riot's enable_presence_by_hs_url to false if presence is disabled

pull/147/head
Aaron Raimist 7 年之前
父節點
當前提交
5586eaddef
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 37419210002890EF
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. +5
    -0
      roles/matrix-riot-web/templates/config.json.j2

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

@@ -14,6 +14,11 @@
"servers": {{ matrix_riot_web_roomdir_servers|to_json }}
},
"welcomeUserId": {{ matrix_riot_web_welcome_user_id|to_json }},
{% if matrix_synapse_use_presence|to_json %}
"enable_presence_by_hs_url": {
{{ matrix_riot_web_default_hs_url|to_json }}: false
},
{% endif %}
"embeddedPages": {
"homeUrl": {{ matrix_riot_web_embedded_pages_home_url|to_json }}
}


Loading…
取消
儲存