diff --git a/app/store/ServicesList.js b/app/store/ServicesList.js index 5ae694ae..1591e9fd 100644 --- a/app/store/ServicesList.js +++ b/app/store/ServicesList.js @@ -794,6 +794,16 @@ Ext.define('Rambox.store.ServicesList', { ,type: 'messaging' ,custom_domain: true ,note: 'List of instances' + }, + { + id: 'teamworkchat' + ,logo: 'teamworkchat.png' + ,name: 'Teamwork Chat' + ,description: 'Say goodbye to email. Take your online collaboration to the next level with Teamwork Chat and keep all team discussions in one place. Chat to your team in a fun and informal way with Teamwork Chat.' + ,url: 'https://___.teamwork.com/chat' + ,type: 'messaging' + ,js_unread: 'function checkUnread(){updateBadge(parseInt(document.getElementsByClassName("sidebar-notification-indicator").length > 0 ? document.getElementsByClassName("sidebar-notification-indicator")[0].innerHTML : 0))}function updateBadge(a){a>=1?rambox.setUnreadCount(a):rambox.clearUnreadCount()}setInterval(checkUnread,3e3);' + ,dont_update_unread_from_title: true } - ] + ] }); diff --git a/resources/icons/teamworkchat.png b/resources/icons/teamworkchat.png new file mode 100644 index 00000000..ab6dfb3a Binary files /dev/null and b/resources/icons/teamworkchat.png differ