закуп
This commit is contained in:
@@ -232,6 +232,12 @@ func (b *Bot) Update(u *echotron.Update) {
|
||||
return
|
||||
}
|
||||
|
||||
// Игнорируем edited_message обновления, чтобы не сбрасывать состояние после наших Edit операций.
|
||||
if u.EditedMessage != nil || u.EditedChannelPost != nil || u.EditedBusinessMessage != nil {
|
||||
log.Debug().Msg("Ignoring edited message update")
|
||||
return
|
||||
}
|
||||
|
||||
exec := &Exec{}
|
||||
|
||||
b.exec = exec
|
||||
|
||||
Reference in New Issue
Block a user