Skip to content

Commit

Permalink
Fix broken cbquery receiver change
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulSonOfLars committed Feb 16, 2024
1 parent c18b68e commit da02993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/handlers/callbackquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ func (cb CallbackQuery) CheckUpdate(b *gotgbot.Bot, ctx *ext.Context) bool {
return cb.Filter == nil || cb.Filter(ctx.CallbackQuery)
}

func (cb *CallbackQuery) Name() string {
func (cb CallbackQuery) Name() string {
return fmt.Sprintf("callback_query_handler_%p", cb.Response)
}

0 comments on commit da02993

Please sign in to comment.