Contact model changes (#184)
* move source id from contacts * Fix contactInbox model name * rubocop fix * Fix rspec
This commit is contained in:
@@ -18,7 +18,7 @@ module Integrations
|
||||
end
|
||||
|
||||
def contact
|
||||
Contact.find_by(source_id: sender_id)
|
||||
::ContactInbox.find_by(source_id: sender_id).contact
|
||||
end
|
||||
|
||||
def conversation
|
||||
|
||||
Reference in New Issue
Block a user