Don't crash when marking a single message: Closes #5509.
This commit is contained in:
parent
863d5edd27
commit
491342de45
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ public interface Geary.FolderSupportsMark : Geary.Folder {
|
|||
Cancellable? cancellable = null) throws Error {
|
||||
Gee.ArrayList<Geary.EmailIdentifier> list = new Gee.ArrayList<Geary.EmailIdentifier>(
|
||||
Equalable.equal_func);
|
||||
list.add(to_mark);
|
||||
|
||||
yield mark_email_async(list, flags_to_add, flags_to_remove, cancellable);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue