summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c
index 9ec7c37..f7a76d2 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1511,6 +1511,12 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
1511 } 1511 }
1512 1512
1513 if (!valid_status(a_status)) { 1513 if (!valid_status(a_status)) {
1514 /* do not retry 'Delete' messages */
1515 if (strcmp(type, "Delete") == 0) {
1516 srv_debug(1, xs_fmt("dropping 'Delete' message due to actor error", actor, a_status));
1517 return -1;
1518 }
1519
1514 /* other actor download errors may need a retry */ 1520 /* other actor download errors may need a retry */
1515 srv_debug(1, xs_fmt("error requesting actor %s %d -- retry later", actor, a_status)); 1521 srv_debug(1, xs_fmt("error requesting actor %s %d -- retry later", actor, a_status));
1516 1522