From 3f28137509f1efa7f74034e14cd729431f33da6d Mon Sep 17 00:00:00 2001 From: Vulich Fernando <46904390+fvulich@users.noreply.github.com> Date: Fri, 5 Jun 2020 15:29:47 -0300 Subject: [PATCH] Update services.json --- api/services.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/services.json b/api/services.json index 2006e2a8..7dfac7b0 100644 --- a/api/services.json +++ b/api/services.json @@ -199,7 +199,7 @@ "logo": "discord.png", "name": "Discord", "description": "Step up your game with a modern voice & text chat app. Crystal clear voice, multiple server and channel support, mobile apps, and more.", - "url": "https://discordapp.com/login", + "url": "https://discord.com/app", "type": "messaging", "allow_popups": false, "manual_notifications": false, @@ -664,11 +664,11 @@ "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", + "url": "https://kiwiirc.com/nextclient", "type": "messaging", "allow_popups": false, "manual_notifications": false, - "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);", + "js_unread": "kiwi.plugin(\"ramboxAdditions\",function(o,n){\"undefined\"!=typeof rambox&&o.on(\"buffer.new\",function(n){n.buffer.flags=new Proxy(n.buffer.flags,{set:function(n,f,r){if(n[f]=r,\"unread\"==f){var e=0;o.state.networks.forEach(function(n){n.buffers.forEach(function(n){e+=n.flags.unread})}),0