chore: Remove unused memoization in telegram incoming service (#3075)

This commit is contained in:
Akhil G Krishnan 2021-09-24 17:22:22 +05:30 committed by GitHub
parent 1f4685ae4b
commit 1cb2226dbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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