diff options
author | default <nobody@localhost> | 2024-05-15 13:31:53 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-05-15 13:31:53 +0200 |
commit | 0a6df8e504569be4caf39930c473f12b328e5b2a (patch) | |
tree | ca0dd5767719d5b96f73b77d42b8da69e0a32a7d /activitypub.c | |
parent | 0a6cfba399cbd7510b6ffa9ddfde5a8ca31c4828 (diff) |
Renamed content_check() to content_match().
Diffstat (limited to 'activitypub.c')
-rw-r--r-- | activitypub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c index dee127d..231715b 100644 --- a/activitypub.c +++ b/activitypub.c @@ -356,7 +356,7 @@ int timeline_request(snac *snac, char **id, xs_str **wrk, int level) } if (xs_match(type, POSTLIKE_OBJECT_TYPE)) { - if (content_check("filter_reject.txt", object)) + if (content_match("filter_reject.txt", object)) snac_log(snac, xs_fmt("timeline_request rejected by content %s", nid)); else { const char *actor = get_atto(object); @@ -2005,7 +2005,7 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req) snac_debug(snac, 0, xs_fmt("dropped reply %s to hidden post %s", id, in_reply_to)); } else { - if (content_check("filter_reject.txt", object)) { + if (content_match("filter_reject.txt", object)) { snac_log(snac, xs_fmt("rejected by content %s", id)); return 1; } |