Merge branch 'main' into lang_de

This commit is contained in:
2022-04-30 13:32:14 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
<groupId>org.example</groupId>
<artifactId>Widerhall</artifactId>
<version>0.2.57</version>
<version>0.2.58</version>
<build>
<plugins>
<plugin>

View File

@@ -154,7 +154,7 @@ public class ImapClient {
Date receivedDate = message.getReceivedDate();
Duration duration = Duration.between(receivedDate.toInstant(),now.toInstant());
var days = duration.toDays();
LOG.info("Message {} is {} days old!",days);
LOG.info("Message {} is {} days old!",message.getSubject(),days);
if (days > holdTime){
LOG.info("…removing");
Folder folder = message.getFolder();