* src/modest-tny-send-queue.c:
authorJose Dapena Paz <jdapena@igalia.com>
Wed, 12 Dec 2007 20:41:57 +0000 (20:41 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Wed, 12 Dec 2007 20:41:57 +0000 (20:41 +0000)
* Now we remove the "current" sending message from the send
  queue also when the message sending fails (fixes NB#75510).

pmo-trunk-r3907

src/modest-tny-send-queue.c

index 338201b..bd1f2e9 100644 (file)
@@ -624,6 +624,7 @@ _on_msg_error_happened (TnySendQueue *self,
        /* Keep in queue so that we remember that the opertion has failed */
        /* and was not just cancelled */
        info->status = MODEST_TNY_SEND_QUEUE_FAILED;
+       priv->current = NULL;
        
        /* Notify status has changed */
        g_signal_emit (self, signals[STATUS_CHANGED], 0, info->msg_id, info->status);