Browse Source

Added Kaiwa

pull/367/head
Ramiro Saenz 9 years ago
parent
commit
419ea5efeb
  1. 4
      app/store/ServicesList.js
  2. BIN
      resources/icons/kaiwa.png

4
app/store/ServicesList.js

@ -538,13 +538,13 @@ Ext.define('Rambox.store.ServicesList', {
,js_unread: 'function check_unread(){update_badge(appCtxt.getById(ZmFolder.ID_INBOX).numUnread)}function update_badge(a){document.title=a>0?"("+a+") "+original_title:original_title}const original_title=document.title;setInterval(check_unread,3e3);'
},
{
id: 'kaiwa'
id: 'kaiwa'
,logo: 'kaiwa.png'
,name: 'Kaiwa'
,description: 'A modern and Open Source Web client for XMPP'
,url: '___'
,type: 'messaging'
,js_unread: 'function check_unread() { let count=0; for (let node of document.getElementsByClassName("unread")){ if (node.innerHTML){ count += parseInt(node.innerHTML); } } update_badge(count);}function update_badge(a) { document.title = a > 0 ? "(" + a + ") " + original_title : original_title}const original_title = document.title;setInterval(check_unread, 3e3);'
},
}
]
});

BIN
resources/icons/kaiwa.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Loading…
Cancel
Save