From 80a66174a727eaf24b6eb3c0aeb9c4c42eea00a1 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Thu, 18 May 2023 17:40:28 +0530 Subject: [PATCH] feat: include messages --- app/services/conversations/filter_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/conversations/filter_service.rb b/app/services/conversations/filter_service.rb index 56202b638..17b89edd9 100644 --- a/app/services/conversations/filter_service.rb +++ b/app/services/conversations/filter_service.rb @@ -58,7 +58,7 @@ class Conversations::FilterService < FilterService def conversations @conversations = @conversations.includes( - :taggings, :inbox, { assignee: { avatar_attachment: [:blob] } }, { contact: { avatar_attachment: [:blob] } }, :team + :taggings, :inbox, { assignee: { avatar_attachment: [:blob] } }, { contact: { avatar_attachment: [:blob] } }, :team, :messages ) @conversations.latest.page(current_page)