snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 3155a80723904a9a44de98b9671c3f6b96d531bf
parent e751def762c320ad095b01e82868778838d0ac29
Author: default <nobody@localhost>
Date:   Tue, 17 Sep 2024 00:26:23 +0200

While processing a 'Move', retry failed actor retrieval (it may be a transient server error).

Diffstat:
Mactivitypub.c | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/activitypub.c b/activitypub.c @@ -2190,8 +2190,12 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req) else snac_log(snac, xs_fmt("'Move' error: cannot get %s 'alsoKnownAs'", new_account)); } - else + else { snac_log(snac, xs_fmt("'Move' error: cannot get new actor %s", new_account)); + + /* may be a server hiccup, retry later */ + return 0; + } } else snac_log(snac, xs_fmt("'Move' error: actor %s is not being followed", old_account));