jappixmini: increase client priority

This commit is contained in:
Leberwurscht 2012-04-16 23:38:00 +02:00
parent 479d8ad96f
commit a656c73bf5

View File

@ -194,6 +194,11 @@ function jappixmini_addon_start(server, username, proxy, bosh, encrypted, passwo
LOCK_HOST = "off"; LOCK_HOST = "off";
console.log("launchMini"); console.log("launchMini");
launchMini(true, false, server, username, password); launchMini(true, false, server, username, password);
// increase priority over other Jabber clients
priority = 101;
sendPresence(null,null,priority);
jappixmini_manage_roster(contacts, autoapprove, autosubscribe) jappixmini_manage_roster(contacts, autoapprove, autosubscribe)
} }