mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-17 19:45:06 +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'
|
params.dig(:message, :chat, :type) == 'private'
|
||||||
end
|
end
|
||||||
|
|
||||||
def account
|
|
||||||
@account ||= inbox.account
|
|
||||||
end
|
|
||||||
|
|
||||||
def set_contact
|
def set_contact
|
||||||
contact_inbox = ::ContactBuilder.new(
|
contact_inbox = ::ContactBuilder.new(
|
||||||
source_id: params[:message][:from][:id],
|
source_id: params[:message][:from][:id],
|
||||||
|
|||||||
Reference in New Issue
Block a user