summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c
index 8383f9b..c3013d8 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1594,8 +1594,14 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
return -1;
}
- /* other actor download errors may need a retry */
- srv_debug(1, xs_fmt("error requesting actor %s %d -- retry later", actor, a_status));
+ /* other actor download errors */
+
+ /* the actor may require a signed request; propagate if no user is set */
+ if (snac == NULL)
+ return 2;
+
+ /* may need a retry */
+ srv_debug(0, xs_fmt("error requesting actor %s %d -- retry later", actor, a_status));
return 0;
}