feat: update app icons and enhance message limit configuration in server setup

This commit is contained in:
Sarto
2026-04-01 21:01:23 +03:30
parent 568c926449
commit 2450993c44
16 changed files with 60 additions and 8 deletions
+7
View File
@@ -64,6 +64,13 @@ func main() {
if !*allowManage && os.Getenv("THEFEED_ALLOW_MANAGE") == "1" {
*allowManage = true
}
if *msgLimit == 15 {
if v := os.Getenv("THEFEED_MSG_LIMIT"); v != "" {
if n, err := strconv.Atoi(v); err == nil && n > 0 {
*msgLimit = n
}
}
}
if *apiID == "" {
*apiID = os.Getenv("TELEGRAM_API_ID")
}