Software /
code /
prosody-modules
Changeset
2377:02532f28b207
mod_pubsub_feeds: Remove default feeds
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 19 Nov 2016 17:43:26 +0100 |
parents | 2376:f0e611e40e3f |
children | 2378:649f733aa3dc |
files | mod_pubsub_feeds/mod_pubsub_feeds.lua |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
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