diff options
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c index 90ad874..9427bf5 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1875,6 +1875,11 @@ void process_queue_item(xs_dict *q_item) | |||
| 1875 | return; | 1875 | return; |
| 1876 | } | 1876 | } |
| 1877 | 1877 | ||
| 1878 | if (is_instance_blocked(inbox)) { | ||
| 1879 | srv_debug(0, xs_fmt("discarded output message to blocked instance %s", inbox)); | ||
| 1880 | return; | ||
| 1881 | } | ||
| 1882 | |||
| 1878 | /* deliver */ | 1883 | /* deliver */ |
| 1879 | status = send_to_inbox_raw(keyid, seckey, inbox, msg, &payload, &p_size, retries == 0 ? 3 : 8); | 1884 | status = send_to_inbox_raw(keyid, seckey, inbox, msg, &payload, &p_size, retries == 0 ? 3 : 8); |
| 1880 | 1885 | ||