Remove unnecessary code from GearyController: Closes #6340
This code had previously existed to mark messages as read, but that functionality has been moved into ConversationViewer.
This commit is contained in:
parent
0b94ba0a75
commit
48eeb472c4
1 changed files with 0 additions and 4 deletions
|
|
@ -512,7 +512,6 @@ public class GearyController {
|
|||
}
|
||||
|
||||
// Fetch full messages.
|
||||
Gee.List<Geary.EmailIdentifier> unread_ids = new Gee.ArrayList<Geary.EmailIdentifier>();
|
||||
Gee.Collection<Geary.Email> messages_to_add = new Gee.HashSet<Geary.Email>();
|
||||
foreach (Geary.Email email in messages) {
|
||||
Geary.Email full_email = yield current_folder.fetch_email_async(email.id,
|
||||
|
|
@ -523,9 +522,6 @@ public class GearyController {
|
|||
throw new IOError.CANCELLED("do_select_message cancelled");
|
||||
|
||||
messages_to_add.add(full_email);
|
||||
|
||||
if (full_email.email_flags.is_unread())
|
||||
unread_ids.add(full_email.id);
|
||||
}
|
||||
|
||||
// Add messages. conversation_viewer.add_message only adds new messages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue