fix: Matrix改用HTTP API,修复HTTPS不可用问题,网页端消息同步到Matrix

This commit is contained in:
2026-04-11 12:56:00 +08:00
parent d3236413f3
commit 65297d7321
6 changed files with 149 additions and 95 deletions

View File

@@ -17,7 +17,7 @@ configs = [
{'key': 'ai_model', 'value': 'auto', 'description': 'AI模型名称'},
# 配置Matrix Bot
{'key': 'matrix_homeserver', 'value': 'https://matrix.tphai.com', 'description': 'Matrix服务器地址'},
{'key': 'matrix_homeserver', 'value': 'http://matrix.tphai.com', 'description': 'Matrix服务器地址'},
{'key': 'matrix_username', 'value': '@tester:matrix.tphai.com', 'description': 'Matrix Bot用户名'},
{'key': 'matrix_access_token', 'value': 'syt_dGVzdGVy_eMwWfezCXSyBgHzvkmly_4dWFtM', 'description': 'Matrix Bot Access Token'},
]