Skip to content

Commit

Permalink
fix: config
Browse files Browse the repository at this point in the history
  • Loading branch information
std-microblock committed May 17, 2024
1 parent 51b69fd commit 60e37a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions adapters/telegram/src/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,7 @@ export class TelegramMessageEncoder<C extends Context = Context> extends Message

if (this.payload.caption || this.asset.length > 0) {
let res: unknown[]

if (this.session.bot.config.files.reuseFileId) {
if (this.session.bot.config.files.reuseFileid) {
try {
res = await send({ reuseFileId: true })
} catch (e) {
Expand Down

0 comments on commit 60e37a7

Please sign in to comment.