Diff

mod_pubsub_feeds/mod_pubsub_feeds.lua @ 2377:02532f28b207

mod_pubsub_feeds: Remove default feeds
author Kim Alvefur <zash@zash.se>
date Sat, 19 Nov 2016 17:43:26 +0100
parent 2137:0fe725b50f77
child 2379:bc6e63ab2a7c
line wrap: on
line diff
--- a/mod_pubsub_feeds/mod_pubsub_feeds.lua	Sat Nov 19 00:56:40 2016 +0100
+++ b/mod_pubsub_feeds/mod_pubsub_feeds.lua	Sat Nov 19 17:43:26 2016 +0100
@@ -49,10 +49,7 @@
 local refresh_interval;
 
 function module.load()
-	local config = module:get_option("feeds") or {
-		planet_jabber = "http://planet.jabber.org/atom.xml";
-		prosody_blog = "http://blog.prosody.im/feed/atom.xml";
-	};
+	local config = module:get_option("feeds", { });
 	refresh_interval = module:get_option_number("feed_pull_interval", 15) * 60;
 	local ok, nodes = pubsub.service:get_nodes(true);
 	if not ok then nodes = {}; end