From 962469a54c427b445e7ebf9c4c83e409a013b9ee Mon Sep 17 00:00:00 2001 From: Ryan Tharp Date: Thu, 22 Aug 2019 17:22:51 -0700 Subject: [PATCH] messenger and loki.network feeds --- js/background.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/js/background.js b/js/background.js index 13ae7d9c3..002ef12d5 100644 --- a/js/background.js +++ b/js/background.js @@ -228,7 +228,21 @@ window.log.warn(`Could not set up channel for ${conversation.id}`); } }); - window.lokiRssAPI = new window.LokiRssAPI(); + window.feeds = [] + window.feeds.push(new window.LokiRssAPI({ + RSS_FEED: 'https://loki.network/category/messenger-updates/feed/', + CONVO_ID: 'rss://loki.network/category/messenger-updates/feed/', + title: 'Messenger updates', + closeable: false + })); + /* + window.feeds.push(new window.LokiRssAPI({ + RSS_FEED: 'https://loki.network/feed/', + CONVO_ID: 'rss://loki.network/feed/', + title: 'Loki.network News', + closeable: true + })); + */ window.lokiP2pAPI = new window.LokiP2pAPI(ourKey); window.lokiP2pAPI.on('pingContact', pubKey => { const isPing = true;