mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-07-07 23:21:23 +08:00
feat: configurable parser and refactor config
This commit is contained in:
@@ -102,7 +102,7 @@ func GetFilesFromUpdateLinkMessageWithReplyEdit(ctx *ext.Context, update *ext.Up
|
||||
}
|
||||
|
||||
tctx := ctx
|
||||
if config.Cfg.Telegram.Userbot.Enable {
|
||||
if config.C().Telegram.Userbot.Enable {
|
||||
tctx = uc.GetCtx()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user