summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c3
1 files changed, 3 insertions, 0 deletions
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,
882 if (objid != NULL && !valid_status(object_get(objid, &entry))) 882 if (objid != NULL && !valid_status(object_get(objid, &entry)))
883 continue; 883 continue;
884 884
885 if (is_hidden(&snac1, objid))
886 continue;
887
885 /* convert the type */ 888 /* convert the type */
886 if (strcmp(type, "Like") == 0) 889 if (strcmp(type, "Like") == 0)
887 type = "favourite"; 890 type = "favourite";