Browse Source

Unmark a failed instance after a successful boost.

grunfink 8 months ago
parent
commit
2a7bb3d52e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      activitypub.c

+ 3 - 0
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;