mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 20:18:08 +00:00
chore: Remove unused memoization in telegram incoming service (#3075)
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user