From: Leberwurscht Date: Mon, 16 Apr 2012 21:38:00 +0000 (+0200) Subject: jappixmini: increase client priority X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a656c73bf5f444804ceb55c939929729e60ad5d1;p=friendica-addons.git jappixmini: increase client priority --- diff --git a/jappixmini/lib.js b/jappixmini/lib.js index 8f4a2669..d02f5d5c 100644 --- a/jappixmini/lib.js +++ b/jappixmini/lib.js @@ -194,6 +194,11 @@ function jappixmini_addon_start(server, username, proxy, bosh, encrypted, passwo LOCK_HOST = "off"; console.log("launchMini"); launchMini(true, false, server, username, password); + + // increase priority over other Jabber clients + priority = 101; + sendPresence(null,null,priority); + jappixmini_manage_roster(contacts, autoapprove, autosubscribe) }