Преглед на файлове

Call list_distribute() from timeline_request().

default преди 1 година
родител
ревизия
75911f5ce9
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      activitypub.c

+ 3 - 0
activitypub.c

@@ -378,6 +378,9 @@ int timeline_request(snac *snac, const char **id, xs_str **wrk, int level)
                             /* store */
                             timeline_add(snac, nid, object);
 
+                            /* redistribute to lists for this user */
+                            list_distribute(snac, actor, object);
+
                             /* recurse! */
                             timeline_request(snac, &in_reply_to, NULL, level + 1);
                         }