Skip to content

Commit

Permalink
chore: Remove unused memoization in telegram incoming service (chatwo…
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilgkrishnan authored Sep 24, 2021
1 parent 1f4685a commit 1cb2226
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/services/telegram/incoming_message_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ def private_message?
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],
Expand Down

0 comments on commit 1cb2226

Please sign in to comment.