Browse Source

Add riot back to fix transition.

TODO: Work to mitigate this in a cleaner way.

Fixes #221.
pull/3202/head
TheGoddessInari 5 years ago
parent
commit
fe82ff798d
No known key found for this signature in database
GPG Key ID: 1209B1B7632D69A
  1. 10
      app/store/ServicesList.js
  2. BIN
      resources/icons/riot.png

10
app/store/ServicesList.js

@ -550,6 +550,16 @@ Ext.define('Hamsket.store.ServicesList', {
,url: 'https://www.pushbullet.com/'
,type: 'messaging'
},
{
id: 'riot'
,logo: 'riot.png'
,name: 'Riot (deprecated)'
,description: 'Riot is a simple and elegant collaboration environment that gathers all of your different conversations and app integrations into one single app.'
,url: 'https://riot.im/app/'
,type: 'messaging'
,js_unread: `let checkUnread=()=>{const a=document.getElementsByClassName("mx_RoomTile_nameContainer");let b=0;for(let i of a){const c=i.getElementsByClassName("mx_RoomTile_badge");for(let ii of c){const iiTrim=parseInt(ii.textContent.trim());iiTrim%1==0&&(b+=iiTrim)}}hamsket.updateBadge(b)};setInterval(checkUnread,1e3);`
,custom_domain: true
},
{
id: 'Element'
,logo: 'element.png'

BIN
resources/icons/riot.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Loading…
Cancel
Save