summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-05-11 19:18:07 +0200
committerdefault <nobody@localhost>2024-05-11 19:18:07 +0200
commit0a11d70fbecd69e0c93000581b800ff434d42767 (patch)
treeae77df1ea5686254090650af3fcfef64817aa28b /activitypub.c
parent4d53a7b6f7f45f524313980461f5d2a6ef965949 (diff)
parent6f3763f452ba55ee6ddd9f63f5bc523807e7288f (diff)
Fixed git conflict.
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 280ac87..dee127d 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)) {
if (content_check("filter_reject.txt", object))
snac_log(snac, xs_fmt("timeline_request rejected by content %s", nid));
else {