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 fdccf1c..6c8c484 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1430,8 +1430,8 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req) | |||
| 1430 | /* bring the actor */ | 1430 | /* bring the actor */ |
| 1431 | a_status = actor_request(snac, actor, &actor_o); | 1431 | a_status = actor_request(snac, actor, &actor_o); |
| 1432 | 1432 | ||
| 1433 | /* if the actor does not explicitly exist, discard */ | 1433 | /* do not retry permanent failures */ |
| 1434 | if (a_status == 404 || a_status == 410) { | 1434 | if (a_status == 404 || a_status == 410 || a_status < 0) { |
| 1435 | snac_debug(snac, 1, | 1435 | snac_debug(snac, 1, |
| 1436 | xs_fmt("dropping message due to actor error %s %d", actor, a_status)); | 1436 | xs_fmt("dropping message due to actor error %s %d", actor, a_status)); |
| 1437 | 1437 | ||