Browse Source

Merge pull request #1804 from Foggalong/master

Reddit Chat
pull/1696/merge
Ramiro Saenz 7 years ago committed by GitHub
parent
commit
ee9ca07488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      app/store/ServicesList.js
  2. BIN
      resources/icons/reddit.png

8
app/store/ServicesList.js

@ -908,6 +908,14 @@ Ext.define('Rambox.store.ServicesList', {
,manual_notifications: true ,manual_notifications: true
,dont_update_unread_from_title: true ,dont_update_unread_from_title: true
,js_unread: 'function checkUnread(){updateBadge(document.querySelectorAll(".SSPGKf.EyyDtb.Q6oXP:not(.oCHqfe) .eM5l9e.FVKzAb").length)}function updateBadge(e){e>=1?rambox.setUnreadCount(e):rambox.clearUnreadCount()}setInterval(checkUnread,3000);' ,js_unread: 'function checkUnread(){updateBadge(document.querySelectorAll(".SSPGKf.EyyDtb.Q6oXP:not(.oCHqfe) .eM5l9e.FVKzAb").length)}function updateBadge(e){e>=1?rambox.setUnreadCount(e):rambox.clearUnreadCount()}setInterval(checkUnread,3000);'
},
{
id: 'reddit'
,logo: 'reddit.png'
,name: 'Reddit'
,description: 'Reddit\'s in-build chat service.'
,url: 'https://www.reddit.com/chat'
,type: 'messaging'
} }
] ]
}); });

BIN
resources/icons/reddit.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Loading…
Cancel
Save