commit 77b9cbe
grunfink
·
2025-05-28 07:39:07 +0000 UTC
parent b198cea
Added more checks.
1 files changed,
+4,
-0
M
rss.c
M
rss.c
+4,
-0
1@@ -149,6 +149,10 @@ void rss_to_timeline(snac *user, const char *url)
2 if (strcmp(l, url) == 0)
3 continue;
4
5+ /* skip crap */
6+ if (!xs_startswith(l, "https:/") && !xs_startswith(l, "http:/"))
7+ return;
8+
9 snac_debug(user, 1, xs_fmt("RSS link: %s", l));
10
11 if (timeline_here(user, l)) {