diff options
| author | 2024-05-11 18:46:15 +0200 | |
|---|---|---|
| committer | 2024-05-11 18:46:15 +0200 | |
| commit | e1ce85debd5b192b5dc56a4e9810839cc52b0f8b (patch) | |
| tree | 76b44e0d587b7476bd0dcf2f054e813583001a4b /activitypub.c | |
| parent | Updated TODO. (diff) | |
| download | snac2-e1ce85debd5b192b5dc56a4e9810839cc52b0f8b.tar.gz snac2-e1ce85debd5b192b5dc56a4e9810839cc52b0f8b.tar.xz snac2-e1ce85debd5b192b5dc56a4e9810839cc52b0f8b.zip | |
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) | |||
| 355 | type = "(null)"; | 355 | type = "(null)"; |
| 356 | } | 356 | } |
| 357 | 357 | ||
| 358 | if (xs_match(type, "Note|Page|Article|Video")) { | 358 | if (xs_match(type, POSTLIKE_OBJECT_TYPE)) { |
| 359 | const char *actor = get_atto(object); | 359 | const char *actor = get_atto(object); |
| 360 | 360 | ||
| 361 | if (content_check("filter_reject.txt", object)) | 361 | if (content_check("filter_reject.txt", object)) |