From 1cb2226dbc239ff37e1288a4f94c6b9a8cf49c51 Mon Sep 17 00:00:00 2001 From: Akhil G Krishnan Date: Fri, 24 Sep 2021 17:22:22 +0530 Subject: [PATCH] chore: Remove unused memoization in telegram incoming service (#3075) --- app/services/telegram/incoming_message_service.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/services/telegram/incoming_message_service.rb b/app/services/telegram/incoming_message_service.rb index ac1459887..33fd6f1f9 100644 --- a/app/services/telegram/incoming_message_service.rb +++ b/app/services/telegram/incoming_message_service.rb @@ -30,10 +30,6 @@ class Telegram::IncomingMessageService params.dig(:message, :chat, :type) == 'private' end - def account - @account ||= inbox.account - end - def set_contact contact_inbox = ::ContactBuilder.new( source_id: params[:message][:from][:id],