summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorGravatar byte2026-01-24 21:33:30 +0100
committerGravatar byte2026-01-24 21:33:30 +0100
commitbfd071c63826f4d13d48614cedebfb2f8ea20cf6 (patch)
tree8cc9b766b88fa66d051e55d65d6694570553a17b /httpd.c
parentAdded a Follow/Unfollow button next to a new follow notification. (diff)
parentMerge pull request 'add susie-q (qr) to artwork' (#528) from pmjv/snac2:maste... (diff)
downloadsnac2-bfd071c63826f4d13d48614cedebfb2f8ea20cf6.tar.gz
snac2-bfd071c63826f4d13d48614cedebfb2f8ea20cf6.tar.xz
snac2-bfd071c63826f4d13d48614cedebfb2f8ea20cf6.zip
Merge pull request 'master' (#7) from grunfink/snac2:master into main
Reviewed-on: https://codeberg.org/byte/snac2/pulls/7
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/httpd.c b/httpd.c
index a8cd849..f46cfca 100644
--- a/httpd.c
+++ b/httpd.c
@@ -1,5 +1,5 @@
1/* snac - A simple, minimalistic ActivityPub instance */ 1/* snac - A simple, minimalistic ActivityPub instance */
2/* copyright (c) 2022 - 2025 grunfink et al. / MIT license */ 2/* copyright (c) 2022 - 2026 grunfink et al. / MIT license */
3 3
4#include "xs.h" 4#include "xs.h"
5#include "xs_io.h" 5#include "xs_io.h"
@@ -257,7 +257,7 @@ int server_get_handler(xs_dict *req, const char *q_path,
257 else { 257 else {
258 xs *page = xs_fmt("?t=%s", t); 258 xs *page = xs_fmt("?t=%s", t);
259 xs *title = xs_fmt(L("Search results for tag #%s"), t); 259 xs *title = xs_fmt(L("Search results for tag #%s"), t);
260 *body = html_timeline(NULL, tl, 0, skip, show, more, title, page, 0, NULL); 260 *body = html_timeline(NULL, tl, 0, skip, show, more, title, page, 0, NULL, 0);
261 } 261 }
262 } 262 }
263 else 263 else
@@ -265,7 +265,7 @@ int server_get_handler(xs_dict *req, const char *q_path,
265 /** instance timeline **/ 265 /** instance timeline **/
266 xs *tl = timeline_instance_list(0, 30); 266 xs *tl = timeline_instance_list(0, 30);
267 *body = html_timeline(NULL, tl, 0, 0, 0, 0, 267 *body = html_timeline(NULL, tl, 0, 0, 0, 0,
268 L("Recent posts by users in this instance"), NULL, 0, NULL); 268 L("Recent posts by users in this instance"), NULL, 0, NULL, 0);
269 } 269 }
270 else 270 else
271 *body = greeting_html(); 271 *body = greeting_html();