some comments
authorArt Cancro <ajc@citadel.org>
Sat, 26 Feb 2022 21:42:40 +0000 (16:42 -0500)
committerArt Cancro <ajc@citadel.org>
Sat, 26 Feb 2022 21:42:40 +0000 (16:42 -0500)
webcit-ng/forum_view.c

index 80320ec84b04ead23e95f6f36f416e4c1de8ab0a..aa8296f19969aacd43a768b156b44acb6641175f 100644 (file)
@@ -1,4 +1,5 @@
-// Forum view (threaded/flat)
+// The code in here feeds messages out as JSON to the client browser.  It is currently being used
+// for the forum view, but as we implement other views we'll probably reuse a lot of what's here.
 //
 // Copyright (c) 1996-2022 by the citadel.org team
 //
@@ -78,7 +79,7 @@ void json_render_one_message(struct http_transaction *h, struct ctdlsession *c,
                JsonObjectAppend(j, NewJsonPlainString(HKEY("from"), author, -1));
        }
        else {
-               JsonObjectAppend(j, NewJsonPlainString(HKEY("from"), emailaddr, -1));           // FIXME do the compound address string
+               JsonObjectAppend(j, NewJsonPlainString(HKEY("from"), emailaddr, -1));           // FIXME do compound address string
        }
 
        if (!strcmp(buf, "text")) {