X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fnotes.c;h=7d496f638e30cd50a96f22f94c7604a6795cfe27;hp=9a090245c573fa50dfa4e726aaf7fd206d0a4c52;hb=3d6fea2eca29405b8a90d91ee862e5a30aebdd3b;hpb=68b90ad48010aa46265549f3ddd4534d7826184f diff --git a/webcit/notes.c b/webcit/notes.c index 9a090245c..7d496f638 100644 --- a/webcit/notes.c +++ b/webcit/notes.c @@ -337,10 +337,10 @@ void ajax_update_note(void) { * * msgnum = Message number on the local server of the note to be displayed */ -void display_note(long msgnum, int unread) { +void display_note(message_summary *Msg, int unread) { struct vnote *v; - v = vnote_new_from_msg(msgnum); + v = vnote_new_from_msg(Msg->msgnum); if (v) { // display_vnote_div(v); DoTemplate(HKEY("vnoteitem"),