It is no longer needed, as we no longer write unencrypted
version of an encrypted message anywhere.
Keep the struct member for now, since att_remover plugin is
still (mis)using it.
gchar *procmsg_get_message_file_path(MsgInfo *msginfo)
{
- gchar *file;
-
cm_return_val_if_fail(msginfo != NULL, NULL);
- if (msginfo->plaintext_file)
- file = g_strdup(msginfo->plaintext_file);
- else {
- file = folder_item_fetch_msg(msginfo->folder, msginfo->msgnum);
- }
-
- return file;
+ return folder_item_fetch_msg(msginfo->folder, msginfo->msgnum);
}
gchar *procmsg_get_message_file(MsgInfo *msginfo)