]> code.citadel.org Git - citadel.git/blobdiff - webcit/notes.c
it now builds but does not do inbox filtering
[citadel.git] / webcit / notes.c
index df39e36a3e3c777b11f285a4cd0b924eb96a4714..079bb960b687d7b49e463e3bd5a2138841e4805c 100644 (file)
@@ -435,8 +435,10 @@ int notes_Cleanup(void **ViewSpecific)
        return 0;
 }
 
-void render_MIME_VNote(wc_mime_attachment *Mime, StrBuf *RawData, StrBuf *FoundCharset)
+void render_MIME_VNote(StrBuf *Target, WCTemplputParams *TP, StrBuf *FoundCharset)
 {
+       wc_mime_attachment *Mime = CTX(CTX_MIME_ATACH);
+
        if (StrLength(Mime->Data) == 0)
                MimeLoadData(Mime);
        if (StrLength(Mime->Data) > 0) {
@@ -485,7 +487,8 @@ InitModule_NOTES
                NULL,
                notes_LoadMsgFromServer,
                NULL,
-               notes_Cleanup);
+               notes_Cleanup,
+               NULL);
 
        WebcitAddUrlHandler(HKEY("add_new_note"), "", 0, add_new_note, 0);
        WebcitAddUrlHandler(HKEY("ajax_update_note"), "", 0, ajax_update_note, 0);