diff options
author | default <nobody@localhost> | 2024-05-11 18:46:15 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-05-11 18:46:15 +0200 |
commit | e1ce85debd5b192b5dc56a4e9810839cc52b0f8b (patch) | |
tree | 76b44e0d587b7476bd0dcf2f054e813583001a4b /activitypub.c | |
parent | 3954361785c1384272b0e9fc7262bb25441101de (diff) |
Unified post-like object type match.
Diffstat (limited to 'activitypub.c')
-rw-r--r-- | activitypub.c | 2 |
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)) |