chore: Add account_id scope for conversation.messages (#7707)
This commit is contained in:
@@ -17,7 +17,7 @@ json.meta do
|
|||||||
end
|
end
|
||||||
|
|
||||||
json.id conversation.display_id
|
json.id conversation.display_id
|
||||||
if conversation.messages.first.blank?
|
if conversation.messages.where(account_id: conversation.account_id).first.blank?
|
||||||
json.messages []
|
json.messages []
|
||||||
else
|
else
|
||||||
json.messages [
|
json.messages [
|
||||||
|
|||||||
Reference in New Issue
Block a user