No need to unwrap Bytes before adding to dictionary.

This commit is contained in:
akwizgran
2016-03-01 13:08:51 +00:00
parent 5998412a8a
commit 88ab694af8
3 changed files with 10 additions and 12 deletions

View File

@@ -83,8 +83,7 @@ class MessagingManagerImpl implements MessagingManager, AddContactHook,
try {
BdfDictionary meta = new BdfDictionary();
meta.put("timestamp", m.getMessage().getTimestamp());
if (m.getParent() != null)
meta.put("parent", m.getParent().getBytes());
if (m.getParent() != null) meta.put("parent", m.getParent());
meta.put("contentType", m.getContentType());
meta.put("local", true);
meta.put("read", true);