* src/modest-tny-send-queue.c:
authorJose Dapena Paz <jdapena@igalia.com>
Fri, 25 Apr 2008 10:47:09 +0000 (10:47 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Fri, 25 Apr 2008 10:47:09 +0000 (10:47 +0000)
* Make sentbox be synced after getting the msg sent flag and
  setting the message to be already seen (fixes partially
  NB#84832).

pmo-trunk-r4475

src/modest-tny-send-queue.c

index b67a9d9..3fc3bda 100644 (file)
@@ -572,6 +572,8 @@ _on_msg_has_been_sent (TnySendQueue *self,
 
        tny_header_set_flag (header, TNY_HEADER_FLAG_SEEN);
 
+       tny_folder_sync_async (priv->sentbox, FALSE, NULL, NULL, NULL);
+
        /* Get status info */
        item = modest_tny_send_queue_lookup_info (MODEST_TNY_SEND_QUEUE (self), msg_id);