Remove broken AS bot displayname config option
This commit is contained in:
@@ -22,8 +22,6 @@ bridge:
|
|||||||
# ${DISPLAYNAME} is replaced with the display name of the Telegram user.
|
# ${DISPLAYNAME} is replaced with the display name of the Telegram user.
|
||||||
displayname_template: "${DISPLAYNAME} (Telegram)"
|
displayname_template: "${DISPLAYNAME} (Telegram)"
|
||||||
bot_username: telegrambot
|
bot_username: telegrambot
|
||||||
# The displayname to set to the bot automatically.
|
|
||||||
bot_displayname: Telegram Bridge
|
|
||||||
|
|
||||||
command_prefix: "!tg"
|
command_prefix: "!tg"
|
||||||
|
|
||||||
|
|||||||
@@ -61,9 +61,6 @@ class MautrixTelegram {
|
|||||||
const user = MatrixUser.fromEntry(this, entry)
|
const user = MatrixUser.fromEntry(this, entry)
|
||||||
this.matrixUsersByID.set(entry.id, user)
|
this.matrixUsersByID.set(entry.id, user)
|
||||||
}
|
}
|
||||||
// FIXME this doesn't work for setting the displayname of the bot.
|
|
||||||
// .then(() =>
|
|
||||||
// this.botIntent.setDisplayName(this.config.bridge.bot_displayname))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
get bot() {
|
get bot() {
|
||||||
|
|||||||
Reference in New Issue
Block a user