From e95873b4ecb576b4aecf32e499a2b31c7e516188 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 16 Nov 2017 19:23:43 +0200 Subject: [PATCH] Remove broken AS bot displayname config option --- example-config.yaml | 2 -- src/app.js | 3 --- 2 files changed, 5 deletions(-) diff --git a/example-config.yaml b/example-config.yaml index 7d426c46..2372fca4 100644 --- a/example-config.yaml +++ b/example-config.yaml @@ -22,8 +22,6 @@ bridge: # ${DISPLAYNAME} is replaced with the display name of the Telegram user. displayname_template: "${DISPLAYNAME} (Telegram)" bot_username: telegrambot - # The displayname to set to the bot automatically. - bot_displayname: Telegram Bridge command_prefix: "!tg" diff --git a/src/app.js b/src/app.js index c6ec676b..9ad36fa8 100644 --- a/src/app.js +++ b/src/app.js @@ -61,9 +61,6 @@ class MautrixTelegram { const user = MatrixUser.fromEntry(this, entry) 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() {