Sfoglia il codice sorgente

Call list_distribute() from timeline_request().

default 1 anno fa
parent
commit
75911f5ce9
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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 */
                             /* store */
                             timeline_add(snac, nid, object);
                             timeline_add(snac, nid, object);
 
 
+                            /* redistribute to lists for this user */
+                            list_distribute(snac, actor, object);
+
                             /* recurse! */
                             /* recurse! */
                             timeline_request(snac, &in_reply_to, NULL, level + 1);
                             timeline_request(snac, &in_reply_to, NULL, level + 1);
                         }
                         }