Skip to content

Commit

Permalink
fix: Enable perfect forward secrecy
Browse files Browse the repository at this point in the history
  • Loading branch information
otomir23 committed Dec 16, 2024
1 parent 0a72aa5 commit 2f8b2a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/telegram/bot/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const bot = new TelegramClient({
apiHash: env.API_HASH,
storage: "data/session",
logLevel: 5,
network: { usePfs: true },
})

const dp = Dispatcher.for(bot)
Expand Down

0 comments on commit 2f8b2a6

Please sign in to comment.