Skip to content

Commit

Permalink
#1843 mark deleted messages as deleted;
Browse files Browse the repository at this point in the history
  • Loading branch information
hauck-jvsh committed Sep 1, 2023
1 parent 1c142f1 commit 8f35e7b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ private UfedMessage createMessage(IItemReader msg) {
private UfedMessage createMessage(IItemReader msg, IItemReader attach) {
UfedMessage m = new UfedMessage();
m.setId(msg.getId());
m.setDeleted(msg.isDeleted());
for (String body : msg.getMetadata().getValues(ExtraProperties.MESSAGE_BODY)) {
if (!body.startsWith(ATTACHED_MEDIA_MSG))
m.setData(body);
Expand Down

0 comments on commit 8f35e7b

Please sign in to comment.