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