aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-09-09 23:03:34 +0200
committergrunfink <grunfink@comam.es>2025-09-09 23:03:34 +0200
commit74e021cbb7c204c8141825a9e82065c45dba26e1 (patch)
tree6f0097dda9d85e7cd7241f828e795c13dc4b748a
parente0e9d117f5a568a1bfcc624508ebefd4bbd35f62 (diff)
Fixed RSS.
-rw-r--r--rss.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rss.c b/rss.c
index f72dac4..bb7b043 100644
--- a/rss.c
+++ b/rss.c
@@ -64,6 +64,9 @@ xs_str *rss_from_timeline(snac *user, const xs_list *timeline,
if (!id || !content || !published)
continue;
+ if (!is_msg_public(msg))
+ continue;
+
/* create a title with the first line of the content */
xs *title = xs_replace(content, "<br>", "\n");
title = xs_regex_replace_i(title, "<[^>]+>", " ");