summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index 301fd4c..4a04000 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -355,7 +355,7 @@ int timeline_request(snac *snac, char **id, xs_str **wrk, int level)
type = "(null)";
}
- if (xs_match(type, "Note|Page|Article|Video")) {
+ if (xs_match(type, POSTLIKE_OBJECT_TYPE)) {
const char *actor = get_atto(object);
if (content_check("filter_reject.txt", object))