From 5836717990493574db533febc10aeff8c335a5d4 Mon Sep 17 00:00:00 2001 From: Damir Modyarov Date: Mon, 16 Dec 2024 09:30:17 +0300 Subject: [PATCH] fix: Enable perfect forward secrecy --- src/telegram/bot/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/telegram/bot/index.ts b/src/telegram/bot/index.ts index f93e566..a214977 100644 --- a/src/telegram/bot/index.ts +++ b/src/telegram/bot/index.ts @@ -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)