Merge remote-tracking branch 'Eramde/mtproxy' into mautrix-0.4

This commit is contained in:
Tulir Asokan
2019-08-09 19:38:23 +03:00
2 changed files with 24 additions and 15 deletions
+3 -3
View File
@@ -313,14 +313,14 @@ telegram:
# Telethon proxy configuration.
# You must install PySocks from pip for proxies to work.
proxy:
# Allowed types: disabled, socks4, socks5, http
# Allowed types: disabled, socks4, socks5, http, mtproxy
type: disabled
# Proxy IP address and port.
address: 127.0.0.1
port: 1080
# Whether or not to perform DNS resolving remotely.
# Whether or not to perform DNS resolving remotely. Only for socks/http proxies.
rdns: true
# Proxy authentication (optional).
# Proxy authentication (optional). Put MTProxy secret in password field.
username: ""
password: ""