aboutsummaryrefslogtreecommitdiff
path: root/rss.c
diff options
context:
space:
mode:
Diffstat (limited to 'rss.c')
-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, "<[^>]+>", " ");