[evolution/gnome-3-30] I#273 - Set messages also seen in 'Empty Junk'



commit 0631cbd7963389603007c9d76465e1c5f126b32c
Author: Milan Crha <mcrha redhat com>
Date:   Fri Jan 4 15:42:16 2019 +0100

    I#273 - Set messages also seen in 'Empty Junk'
    
    Closes https://gitlab.gnome.org/GNOME/evolution/issues/273

 src/mail/e-mail-reader-utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/mail/e-mail-reader-utils.c b/src/mail/e-mail-reader-utils.c
index 1b3f9e1ba4..1d69740a43 100644
--- a/src/mail/e-mail-reader-utils.c
+++ b/src/mail/e-mail-reader-utils.c
@@ -582,7 +582,7 @@ mail_reader_empty_junk_thread (EAlertSinkThreadJobData *job_data,
 
                        nfo = camel_folder_get_message_info (folder, uids->pdata[ii]);
                        if (nfo) {
-                               camel_message_info_set_flags (nfo, CAMEL_MESSAGE_DELETED, 
CAMEL_MESSAGE_DELETED);
+                               camel_message_info_set_flags (nfo, CAMEL_MESSAGE_DELETED | 
CAMEL_MESSAGE_SEEN, CAMEL_MESSAGE_DELETED | CAMEL_MESSAGE_SEEN);
                                g_object_unref (nfo);
                        }
                }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]