james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject [1/4] james-project git commit: JAMES-1777 Retrieve attachment name in GetMessages JMAP method
Date Fri, 01 Jul 2016 15:30:35 GMT
Repository: james-project
Updated Branches:
  refs/heads/master bc5afa0c8 -> b6e967de7


JAMES-1777 Retrieve attachment name in GetMessages JMAP method


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/b6e967de
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/b6e967de
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/b6e967de

Branch: refs/heads/master
Commit: b6e967de70012b32186d5d9120274453dc5afa3c
Parents: 8b7cdb2
Author: Antoine Duprat <aduprat@linagora.com>
Authored: Fri Jun 24 08:50:03 2016 +0200
Committer: Antoine Duprat <aduprat@linagora.com>
Committed: Fri Jul 1 16:32:41 2016 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/james/jmap/model/MessageFactory.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/b6e967de/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/MessageFactory.java
----------------------------------------------------------------------
diff --git a/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/MessageFactory.java
b/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/MessageFactory.java
index 8a5a277..b31f403 100644
--- a/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/MessageFactory.java
+++ b/server/protocols/jmap/src/main/java/org/apache/james/jmap/model/MessageFactory.java
@@ -160,6 +160,7 @@ public class MessageFactory {
         return Attachment.builder()
                     .blobId(attachment.getAttachmentId().getId())
                     .type(attachment.getType())
+                    .name(attachment.getName().orNull())
                     .size(attachment.getSize())
                     .build();
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message