diff options
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) | |||
| 356 | } | 356 | } |
| 357 | 357 | ||
| 358 | if (xs_match(type, POSTLIKE_OBJECT_TYPE)) { | 358 | if (xs_match(type, POSTLIKE_OBJECT_TYPE)) { |
| 359 | if (content_check("filter_reject.txt", object)) | 359 | if (content_match("filter_reject.txt", object)) |
| 360 | snac_log(snac, xs_fmt("timeline_request rejected by content %s", nid)); | 360 | snac_log(snac, xs_fmt("timeline_request rejected by content %s", nid)); |
| 361 | else { | 361 | else { |
| 362 | const char *actor = get_atto(object); | 362 | const char *actor = get_atto(object); |
| @@ -2005,7 +2005,7 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req) | |||
| 2005 | snac_debug(snac, 0, xs_fmt("dropped reply %s to hidden post %s", id, in_reply_to)); | 2005 | snac_debug(snac, 0, xs_fmt("dropped reply %s to hidden post %s", id, in_reply_to)); |
| 2006 | } | 2006 | } |
| 2007 | else { | 2007 | else { |
| 2008 | if (content_check("filter_reject.txt", object)) { | 2008 | if (content_match("filter_reject.txt", object)) { |
| 2009 | snac_log(snac, xs_fmt("rejected by content %s", id)); | 2009 | snac_log(snac, xs_fmt("rejected by content %s", id)); |
| 2010 | return 1; | 2010 | return 1; |
| 2011 | } | 2011 | } |