pull/429/head
Ryan Tharp 6 years ago committed by Beaudan Brown
parent 0a1655b03d
commit 48f2637ff9

@ -228,13 +228,15 @@
window.log.warn(`Could not set up channel for ${conversation.id}`); window.log.warn(`Could not set up channel for ${conversation.id}`);
} }
}); });
window.feeds = [] window.feeds = [];
window.feeds.push(new window.LokiRssAPI({ window.feeds.push(
RSS_FEED: 'https://loki.network/category/messenger-updates/feed/', new window.LokiRssAPI({
CONVO_ID: 'rss://loki.network/category/messenger-updates/feed/', RSS_FEED: 'https://loki.network/category/messenger-updates/feed/',
title: 'Messenger updates', CONVO_ID: 'rss://loki.network/category/messenger-updates/feed/',
closeable: false title: 'Messenger updates',
})); closeable: false,
})
);
/* /*
window.feeds.push(new window.LokiRssAPI({ window.feeds.push(new window.LokiRssAPI({
RSS_FEED: 'https://loki.network/feed/', RSS_FEED: 'https://loki.network/feed/',

@ -90,7 +90,7 @@ class LokiRssAPI extends EventEmitter {
); );
conversation.setFriendRequestStatus(friendRequestStatusEnum.friends); conversation.setFriendRequestStatus(friendRequestStatusEnum.friends);
conversation.setGroupNameAndAvatar( conversation.setGroupNameAndAvatar(
this.feedTitle, //'Loki.network News', this.feedTitle,
'images/loki/loki_icon.png' 'images/loki/loki_icon.png'
); );
conversation.updateTextInputState(); conversation.updateTextInputState();

@ -81,7 +81,7 @@ MessageReceiver.prototype.extend({
// set up pollers for any RSS feeds // set up pollers for any RSS feeds
feeds.forEach(feed => { feeds.forEach(feed => {
feed.on('rssMessage', this.handleRssMessage.bind(this)); feed.on('rssMessage', this.handleRssMessage.bind(this));
}) });
this.startLocalServer(); this.startLocalServer();
// TODO: Rework this socket stuff to work with online messaging // TODO: Rework this socket stuff to work with online messaging

Loading…
Cancel
Save