Implement login

This commit is contained in:
Tulir Asokan
2018-01-21 11:49:29 +02:00
parent 899f491707
commit 130a428641
6 changed files with 172 additions and 52 deletions
+3 -11
View File
@@ -21,6 +21,7 @@ appservice:
id: telegram
# Username of the appservice bot.
bot_username: telegrambot
bot_displayname: Mautrix-Telegram Bridge
# Authentication tokens for AS <-> HS communication. Autogenerated; do not modify.
as_token: "This value is generated when generating the registration"
@@ -56,18 +57,9 @@ bridge:
- username
- phoneNumber
# Bridge command configuration
commands:
# The prefix for commands.
# This is only required in rooms with users more than two users.
prefix: "!tg"
# Whether or not to allow management commands in rooms with more than two users.
# Non-management commands are allowed in portal rooms even if this is false.
allow_in_groups: false
# Enables the !tg api ... commands for debugging.
allow_direct_api_calls: false
# The prefix for commands. Only required in non-management rooms.
command_prefix: "!tg"
# Whitelist of user IDs that are allowed to use this bridge. Leave empty to disable.
# You can enter a domain without the localpart to allow all users from that homeserver to use the bridge.