From cb616d6eb53af387e128bb7ce624f161907f4ed9 Mon Sep 17 00:00:00 2001 From: default Date: Fri, 14 Apr 2023 12:23:32 +0200 Subject: New notifications web page. --- mastoapi.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mastoapi.c') diff --git a/mastoapi.c b/mastoapi.c index 4ec9000..f9141d0 100644 --- a/mastoapi.c +++ b/mastoapi.c @@ -882,6 +882,9 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, if (objid != NULL && !valid_status(object_get(objid, &entry))) continue; + if (is_hidden(&snac1, objid)) + continue; + /* convert the type */ if (strcmp(type, "Like") == 0) type = "favourite"; -- cgit v1.2.3