From a656c73bf5f444804ceb55c939929729e60ad5d1 Mon Sep 17 00:00:00 2001 From: Leberwurscht Date: Mon, 16 Apr 2012 23:38:00 +0200 Subject: [PATCH] jappixmini: increase client priority --- jappixmini/lib.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jappixmini/lib.js b/jappixmini/lib.js index 8f4a26697..d02f5d5c3 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) }