grunfink hace 11 meses
padre
commit
74e021cbb7
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      rss.c

+ 3 - 0
rss.c

@@ -64,6 +64,9 @@ xs_str *rss_from_timeline(snac *user, const xs_list *timeline,
         if (!id || !content || !published)
         if (!id || !content || !published)
             continue;
             continue;
 
 
+        if (!is_msg_public(msg))
+            continue;
+
         /* create a title with the first line of the content */
         /* create a title with the first line of the content */
         xs *title = xs_replace(content, "<br>", "\n");
         xs *title = xs_replace(content, "<br>", "\n");
         title = xs_regex_replace_i(title, "<[^>]+>", " ");
         title = xs_regex_replace_i(title, "<[^>]+>", " ");