refactor: move inbound config
This commit is contained in:
1 parent
5e07400cd1
commit
93af424ce5
34 files changed
+283
-243
No files matched your search
+1
-1
@@ -162,7 +162,7 @@ export function createTelegramBot(opts: TelegramBotOptions) {
|
||||
}
|
||||
|
||||
if (!isGroup) {
|
||||
const sessionCfg = cfg.inbound?.session;
|
||||
const sessionCfg = cfg.session;
|
||||
const mainKey = (sessionCfg?.mainKey ?? "main").trim() || "main";
|
||||
const storePath = resolveStorePath(sessionCfg?.store);
|
||||
await updateLastRoute({
|
||||
|
||||
Reference in new issue
Block a user