diff --git a/js/background.js b/js/background.js index 002ef12d5..fe84f03c2 100644 --- a/js/background.js +++ b/js/background.js @@ -228,13 +228,15 @@ window.log.warn(`Could not set up channel for ${conversation.id}`); } }); - 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 = []; + 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/', diff --git a/js/modules/loki_rss_api.js b/js/modules/loki_rss_api.js index 8bdc9d3b7..438866dd1 100644 --- a/js/modules/loki_rss_api.js +++ b/js/modules/loki_rss_api.js @@ -90,7 +90,7 @@ class LokiRssAPI extends EventEmitter { ); conversation.setFriendRequestStatus(friendRequestStatusEnum.friends); conversation.setGroupNameAndAvatar( - this.feedTitle, //'Loki.network News', + this.feedTitle, 'images/loki/loki_icon.png' ); conversation.updateTextInputState(); diff --git a/libtextsecure/message_receiver.js b/libtextsecure/message_receiver.js index d284d924c..153b067c4 100644 --- a/libtextsecure/message_receiver.js +++ b/libtextsecure/message_receiver.js @@ -81,7 +81,7 @@ MessageReceiver.prototype.extend({ // set up pollers for any RSS feeds feeds.forEach(feed => { feed.on('rssMessage', this.handleRssMessage.bind(this)); - }) + }); this.startLocalServer(); // TODO: Rework this socket stuff to work with online messaging