From: Art Cancro Date: Tue, 12 May 2009 20:45:34 +0000 (+0000) Subject: * Reversed the IsEmptyStr logic to determine whether a note is in vNote format or... X-Git-Tag: v7.86~1176 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=bab1410852d6fa810bd2266c84891085991fdfbf * Reversed the IsEmptyStr logic to determine whether a note is in vNote format or legacy text format. Notes are now working again, but it's still calling load_mimepart() every time. --- diff --git a/webcit/notes.c b/webcit/notes.c index ab4dfff5d..988e11095 100644 --- a/webcit/notes.c +++ b/webcit/notes.c @@ -126,7 +126,7 @@ struct vnote *vnote_new_from_msg(long msgnum,int unread) } if (StrLength(Data) > 0) { - if (!IsEmptyStr(uid_from_headers)) { + if (IsEmptyStr(uid_from_headers)) { // Convert an old-style note to a vNote vnote_from_body = vnote_new(); vnote_from_body->uid = strdup(uid_from_headers);