Am Mittwoch, den 02.11.2005, 19:01 +0100 schrieb Daniel Leidert: > Am Montag, den 31.10.2005, 21:42 +0100 schrieb Daniel Leidert: > > It seems, that pan does not read the MID of a posting when trying to > > Cancel/Supersede a posting. > > Only Supersede is affected. Cancel silently fails. I will open a new > bug-report soon.
Ok. This is caused by a similar problem. The MID which pan tries to cancel is the local one, not the one in Posting received from the server. The patch to fix Supersede and Cancel action is attached. Regards, Daniel
--- pan-0.14.2.91.orig/pan/article-actions.c +++ pan-0.14.2.91/pan/article-actions.c @@ -128,7 +128,7 @@ GMimeMessage * ours = find_matching_sent (message); if (ours != NULL) - queue_add (TASK(task_cancel_new (server, ours))); + queue_add (TASK(task_cancel_new (server, message))); else log_add_va (LOG_ERROR|LOG_URGENT, _("Unable to cancel article: Couldn't find matching article in folder `pan.sent'!")); @@ -162,7 +162,7 @@ char * new_message_id; /* get the new message-id */ - old_message_id = g_mime_message_get_message_id (ours); + old_message_id = g_mime_message_get_message_id (message); pch = g_strdup (old_message_id); domain = strchr (pch, '@'); if (domain)