Jelajahi Sumber

Mark working instances as working in rss_to_timeline().

grunfink 3 bulan lalu
induk
melakukan
752e0cfd7e
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      rss.c

+ 3 - 0
rss.c

@@ -281,6 +281,9 @@ void rss_to_timeline(snac *user, const char *url)
             if (!xs_match(type, POSTLIKE_OBJECT_TYPE))
                 continue;
 
+            /* the instance is [back] online */
+            instance_failure(object, 2);
+
             if (timeline_here(user, id)) {
                 snac_debug(user, 1, xs_fmt("RSS entry already in timeline (id) %s", id));
                 continue;