1
0
зеркало из https://github.com/glebtv/telegram-bot.git synced 2026-08-28 15:26:18 +03:00

Fixed doubled instrumentation for reply_with

Этот коммит содержится в:
Max Melentiev
2016-06-02 21:19:27 +03:00
родитель 0205891985
Коммит 9ba5a817cd

Просмотреть файл

@@ -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|