summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar default2023-11-08 09:20:34 +0100
committerGravatar default2023-11-08 09:20:34 +0100
commit55d3ef5024d4a597ddeae23ca7d29375c7d6a9d3 (patch)
treea32a47d8085154fede0ca19a27a8e5043cf1cdf3 /html.c
parentNew code for indexing tags. (diff)
downloadsnac2-55d3ef5024d4a597ddeae23ca7d29375c7d6a9d3.tar.gz
snac2-55d3ef5024d4a597ddeae23ca7d29375c7d6a9d3.tar.xz
snac2-55d3ef5024d4a597ddeae23ca7d29375c7d6a9d3.zip
Tags can now be searched for from the server base URL.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 7e96f46..1220765 100644
--- a/html.c
+++ b/html.c
@@ -1574,7 +1574,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int local, int skip, int
1574 continue; 1574 continue;
1575 1575
1576 /* if it's an instance page, discard private users */ 1576 /* if it's an instance page, discard private users */
1577 if (user == NULL) { 1577 if (user == NULL && xs_startswith(xs_dict_get(msg, "id"), srv_baseurl)) {
1578 const char *atto = xs_dict_get(msg, "attributedTo"); 1578 const char *atto = xs_dict_get(msg, "attributedTo");
1579 xs *l = xs_split(atto, "/"); 1579 xs *l = xs_split(atto, "/");
1580 const char *uid = xs_list_get(l, -1); 1580 const char *uid = xs_list_get(l, -1);