diff --git a/app/store/ServicesList.js b/app/store/ServicesList.js index 94c33d4e..20f021d7 100644 --- a/app/store/ServicesList.js +++ b/app/store/ServicesList.js @@ -470,6 +470,15 @@ Ext.define('Rambox.store.ServicesList', { ,description: 'Aim offers free Text Messaging, Group Conversations, Media Sharing, Social Notifications, and more.' ,url: 'http://aim.com/' ,type: 'messaging' + }, + { + id: 'kiwi' + ,logo: 'kiwi.png' + ,name: 'Kiwi IRC' + ,description: 'KiwiIRC makes Web IRC easy. A hand-crafted IRC client that you can enjoy. Designed to be used easily and freely.' + ,url: 'https://kiwiirc.com/client' + ,type: 'messaging' + ,js_unread: 'function getUnreadCount(){var a=0;$(".activity").each(function(){a+=parseInt($(this).html())});var b=!1;return $(".panel[style*=display: block] .msg").each(function(){b?a++:$(this).hasClass("last_seen")&&(b=!0)}),a}function updateTitle(a){count=getUnreadCount(),cleanTitle=a.match(re),null!==cleanTitle&&cleanTitle.length>1?cleanTitle=cleanTitle[1]:cleanTitle=a,a=count>0?"("+getUnreadCount()+") "+cleanTitle:cleanTitle,$("title").text(a)}var re=/\(\d+\)[ ](.*)/;Object.defineProperty(document,"title",{configurable:!0,set:function(a){updateTitle(a)},get:function(){return $("title").text()}}),setInterval(function(){updateTitle(document.title)},3e3);' } ] }); diff --git a/resources/icons/kiwi.png b/resources/icons/kiwi.png new file mode 100644 index 00000000..dbff10a3 Binary files /dev/null and b/resources/icons/kiwi.png differ