Merge pull request 'Fixed captcha testing' (#1) from echotron into master
Reviewed-on: #1
This commit is contained in:
commit
e02e879378
|
@ -97,9 +97,6 @@ func checkCaptcha(b *bot, update *tb.Update) error {
|
||||||
b.DeleteMessage(message.Chat.ID, user.CaptchaMessage)
|
b.DeleteMessage(message.Chat.ID, user.CaptchaMessage)
|
||||||
|
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
log.Println(err)
|
|
||||||
return err
|
|
||||||
}
|
}
|
||||||
if !solved {
|
if !solved {
|
||||||
b.DeleteMessage(message.Chat.ID, message.ID)
|
b.DeleteMessage(message.Chat.ID, message.ID)
|
||||||
|
|
Loading…
Reference in New Issue