]> git.mxchange.org Git - friendica-addons.git/commitdiff
jappixmini: increase client priority
authorLeberwurscht <leberwurscht@hoegners.de>
Mon, 16 Apr 2012 21:38:00 +0000 (23:38 +0200)
committerLeberwurscht <leberwurscht@hoegners.de>
Mon, 16 Apr 2012 21:38:00 +0000 (23:38 +0200)
jappixmini/lib.js

index 8f4a266970acc2ba2089c822f3612b4dbe6135e6..d02f5d5c348727aa63678d4caa268df2093938fe 100644 (file)
@@ -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)
     }