Switch to a simpler non-versioned automatic config update

This commit is contained in:
Tulir Asokan
2018-03-11 11:25:29 +02:00
parent ad67996d91
commit 715b658a3d
4 changed files with 96 additions and 144 deletions
+8 -5
View File
@@ -1,7 +1,11 @@
# Homeserver details
homeserver:
# The address that this appservice can use to connect to the homeserver.
address: https://matrix.org
# The domain of the homeserver (for MXIDs, etc).
domain: matrix.org
# Whether or not to verify the SSL certificate of the homeserver.
# Only applies if address starts with https://
verify_ssl: true
# Application service host/registration related details
@@ -15,6 +19,9 @@ appservice:
hostname: localhost
port: 8080
# The full URI to the database.
database: sqlite:///mautrix-telegram.db
# Public part of web server for out-of-Matrix interaction with the bridge.
# Used for things like login if the user wants to make sure the 2FA password isn't stored in
# the HS database.
@@ -127,8 +134,4 @@ telegram:
api_id: 12345
api_hash: tjyd5yge35lbodk1xwzw2jstp90k55qz
# (Optional) Create your own bot at https://t.me/BotFather
#bot_token: 123456789:ABCD-QBPd3VrWRhg623xYh07WUWErYA9eMI
# The version of the config. The bridge will read this and automatically update the config if
# the schema has changed. For the latest version, check the example config.
version: 2
bot_token: disabled