зеркало из
https://github.com/glebtv/telegram-bot.git
synced 2026-08-28 15:26:18 +03:00
Fixed doubled instrumentation for reply_with
Этот коммит содержится в:
@@ -35,10 +35,8 @@ module Telegram
|
||||
end
|
||||
end
|
||||
|
||||
%i(respond_with reply_with).each do |method|
|
||||
define_method(method) do |type, *args|
|
||||
Instrumentation.instrument(:respond_with, type: type) { super(type, *args) }
|
||||
end
|
||||
def respond_with(type, *)
|
||||
Instrumentation.instrument(:respond_with, type: type) { super }
|
||||
end
|
||||
|
||||
%i(answer_callback_query answer_inline_query).each do |type|
|
||||
|
||||
Ссылка в новой задаче
Block a user