commit 74e021c

grunfink  ·  2025-09-09 21:03:34 +0000 UTC
parent e0e9d11
Fixed RSS.
1 files changed,  +3, -0
M rss.c
M rss.c
+3, -0
 1@@ -64,6 +64,9 @@ xs_str *rss_from_timeline(snac *user, const xs_list *timeline,
 2         if (!id || !content || !published)
 3             continue;
 4 
 5+        if (!is_msg_public(msg))
 6+            continue;
 7+
 8         /* create a title with the first line of the content */
 9         xs *title = xs_replace(content, "<br>", "\n");
10         title = xs_regex_replace_i(title, "<[^>]+>", " ");