This is an automated email from the ASF dual-hosted git repository.

rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git


The following commit(s) were added to refs/heads/master by this push:
     new 21616b252e [IMPROVEMENT] JMAP should include attachement content in 
text clause
21616b252e is described below

commit 21616b252eab5d1baac6cba155cf0867e583c797
Author: Rene Cordier <rcord...@linagora.com>
AuthorDate: Thu Oct 3 10:20:13 2024 +0700

    [IMPROVEMENT] JMAP should include attachement content in text clause
---
 .../main/scala/org/apache/james/jmap/utils/search/MailboxFilter.scala    | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/server/protocols/jmap-rfc-8621/src/main/scala/org/apache/james/jmap/utils/search/MailboxFilter.scala
 
b/server/protocols/jmap-rfc-8621/src/main/scala/org/apache/james/jmap/utils/search/MailboxFilter.scala
index d1b8316a80..ee9c7b8e77 100644
--- 
a/server/protocols/jmap-rfc-8621/src/main/scala/org/apache/james/jmap/utils/search/MailboxFilter.scala
+++ 
b/server/protocols/jmap-rfc-8621/src/main/scala/org/apache/james/jmap/utils/search/MailboxFilter.scala
@@ -251,6 +251,7 @@ object MailboxFilter {
               SearchQuery.address(AddressType.From, text.value),
               SearchQuery.subject(text.value),
               SearchQuery.bodyContains(text.value),
+              SearchQuery.attachmentContains(text.value),
               SearchQuery.attachmentFileName(text.value))
             .asJava)))
         case None => Right(Nil)


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org
For additional commands, e-mail: notifications-h...@james.apache.org

Reply via email to