mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-07-11 15:31:22 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b5e9cf987a |
@@ -34,7 +34,7 @@ var (
|
|||||||
mediaGroupHandler = &MediaGroupHandler{
|
mediaGroupHandler = &MediaGroupHandler{
|
||||||
groups: make(map[int64][]tfile.TGFileMessage),
|
groups: make(map[int64][]tfile.TGFileMessage),
|
||||||
timers: make(map[int64]*time.Timer),
|
timers: make(map[int64]*time.Timer),
|
||||||
timeout: time.Duration(min(config.C().Telegram.MediaGroupTimeout, 1)) * time.Second,
|
timeout: time.Duration(max(config.C().Telegram.MediaGroupTimeout, 1)) * time.Second,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user