Browse Source

Always add a user's posts to the public timeline, even if it's not really public.

grunfink 11 months ago
parent
commit
5693c81d69
1 changed files with 3 additions and 0 deletions
  1. 3 0
      data.c

+ 3 - 0
data.c

@@ -1463,6 +1463,9 @@ void timeline_update_indexes(snac *snac, const char *id)
                 else
                     srv_debug(1, xs_fmt("Not added to public instance index %s", id));
             }
+            else
+                /* also add it to public, it will be discarded later */
+                object_user_cache_add(snac, id, "public");
         }
     }
 }