Fix npe
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
c3d68989a1
commit
9f383cf856
|
@ -47,7 +47,7 @@ func Start() error {
|
|||
go handleMessage(ctx)
|
||||
}
|
||||
if update.EditedMessage != nil {
|
||||
ctx := &messageHandleContext{bot: bot, chat: update.Message.Chat, msg: update.EditedMessage}
|
||||
ctx := &messageHandleContext{bot: bot, chat: update.EditedMessage.Chat, msg: update.EditedMessage}
|
||||
go handleMessage(ctx)
|
||||
}
|
||||
if update.CallbackQuery != nil {
|
||||
|
|
Loading…
Reference in New Issue