* Always notify the queue that the operation finished, otherwise it won't be removed
authorSergio Villar Senin <svillar@igalia.com>
Mon, 5 Nov 2007 13:01:54 +0000 (13:01 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Mon, 5 Nov 2007 13:01:54 +0000 (13:01 +0000)
pmo-trunk-r3644

src/modest-mail-operation.c

index 7766262..0846967 100644 (file)
@@ -2697,6 +2697,9 @@ modest_mail_operation_xfer_msgs (ModestMailOperation *self,
        g_object_unref (iter);
 
        if (src_folder == NULL) {
+               /* Notify the queue */
+               modest_mail_operation_notify_end (self);
+
                g_warning ("%s: cannot find folder from header", __FUNCTION__);
                return;
        }