TnyMsg *new_msg;
TnyHeader *new_header, *header;
const gchar* reply_to;
+ gchar *new_cc = NULL;
+ const gchar *cc = NULL, *bcc = NULL;
+ GString *tmp = NULL;
new_msg = create_reply_forward_mail (msg, from, TRUE, reply_type);
tny_header_set_to (new_header, tny_header_get_from (header));
switch (reply_mode) {
- gchar *new_cc = NULL;
- const gchar *cc = NULL, *bcc = NULL;
- GString *tmp = NULL;
-
case MODEST_MAIL_OPERATION_REPLY_MODE_SENDER:
/* Do not fill neither cc nor bcc */
break;
g_object_unref (G_OBJECT (store_account));
} else {
tny_folder_remove_msg (folder, header, NULL); /* FIXME */
- tny_folder_expunge (folder, NULL); /* FIXME */
+ tny_folder_sync (folder, TRUE, NULL); /* FIXME */
}
/* Free */