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 5836717
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/telegram/bot/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ const bot = new TelegramClient({
apiId: env.API_ID,
apiHash: env.API_HASH,
storage: "data/session",
<<<<<<< Updated upstream
logLevel: 5,
=======
network: { usePfs: true },
>>>>>>> Stashed changes
})

const dp = Dispatcher.for(bot)
Expand Down

0 comments on commit 5836717

Please sign in to comment.