fix error with quote message
This commit is contained in:
parent
284f2e5643
commit
9db7c61359
@ -552,7 +552,13 @@ func telegramWebhookHandler(c *gin.Context) {
|
|||||||
data, st, err := client.Messages(snd)
|
data, st, err := client.Messages(snd)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Error(b.Token, err.Error(), st, data)
|
logger.Error(b.Token, err.Error(), st, data)
|
||||||
|
|
||||||
|
if update.Message.ReplyToMessage != nil {
|
||||||
|
c.AbortWithStatus(http.StatusOK)
|
||||||
|
} else {
|
||||||
c.Error(err)
|
c.Error(err)
|
||||||
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user