瀏覽代碼

Mark working instances as working in rss_to_timeline().

grunfink 3 月之前
父節點
當前提交
752e0cfd7e
共有 1 個文件被更改,包括 3 次插入0 次删除
  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;