🚸 Setted inline updates filter to >25 symbols

This commit is contained in:
Maxim Lebedev 2017-11-30 05:37:10 +05:00
parent 569d656016
commit 9b5dd47818
No known key found for this signature in database
GPG Key ID: F8978F46FF0FFA4F
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@ func main() {
)
case update.InlineQuery != nil:
// Just don't check same updates
if len(update.InlineQuery.Query) > 4 {
log.D(update.InlineQuery.Query)
if len(update.InlineQuery.Query) > 25 {
continue
}