diff options
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index 1976012..22a12fa 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1921,10 +1921,15 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req) | |||
| 1921 | snac_debug(snac, 0, xs_fmt("dropped reply %s to hidden post %s", id, in_reply_to)); | 1921 | snac_debug(snac, 0, xs_fmt("dropped reply %s to hidden post %s", id, in_reply_to)); |
| 1922 | } | 1922 | } |
| 1923 | else { | 1923 | else { |
| 1924 | if (content_check("filter_reject.txt", object)) { | ||
| 1925 | snac_log(snac, xs_fmt("rejected by content %s", id)); | ||
| 1926 | return 1; | ||
| 1927 | } | ||
| 1928 | |||
| 1924 | timeline_request(snac, &in_reply_to, &wrk, 0); | 1929 | timeline_request(snac, &in_reply_to, &wrk, 0); |
| 1925 | 1930 | ||
| 1926 | if (timeline_add(snac, id, object)) { | 1931 | if (timeline_add(snac, id, object)) { |
| 1927 | snac_log(snac, xs_fmt("new 'Note' %s %s", actor, id)); | 1932 | snac_log(snac, xs_fmt("new '%s' %s %s", utype, actor, id)); |
| 1928 | do_notify = 1; | 1933 | do_notify = 1; |
| 1929 | } | 1934 | } |
| 1930 | 1935 | ||