diff options
| author | grunfink <grunfink@comam.es> | 2025-11-15 05:18:20 +0100 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2025-11-15 05:18:20 +0100 |
| commit | 2a7bb3d52ed393c200c4a6cace26abcb41ebbd11 (patch) | |
| tree | ed62dfa70d8f90a4c989f6f05cbdbac05f88fc4f | |
| parent | eea6aae24adb38b6609345c8a24b759e739c3a4e (diff) | |
Unmark a failed instance after a successful boost.
| -rw-r--r-- | activitypub.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c index bb6f460..52d5535 100644 --- a/activitypub.c +++ b/activitypub.c @@ -2805,6 +2805,9 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req) if (valid_status(object_get(object, &a_msg))) { const char *who = get_atto(a_msg); + /* got the admired object: instance is [back] online */ + instance_failure(object, 2); + if (who && !is_muted(snac, who)) { /* bring the actor */ xs *who_o = NULL; |