aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-11-08 09:20:34 +0100
committerdefault <nobody@localhost>2023-11-08 09:20:34 +0100
commit55d3ef5024d4a597ddeae23ca7d29375c7d6a9d3 (patch)
treea32a47d8085154fede0ca19a27a8e5043cf1cdf3 /html.c
parent895cf82a7d2b8704aeeabf002bc26a49336586ff (diff)
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
continue;
/* if it's an instance page, discard private users */
- if (user == NULL) {
+ if (user == NULL && xs_startswith(xs_dict_get(msg, "id"), srv_baseurl)) {
const char *atto = xs_dict_get(msg, "attributedTo");
xs *l = xs_split(atto, "/");
const char *uid = xs_list_get(l, -1);