SPARK-1564 Idle should set priority to 0

This commit is contained in:
wroot
2016-05-14 17:43:44 +03:00
parent 5963d042cf
commit ff4bea78ce

View File

@ -102,7 +102,7 @@ public class UserIdlePlugin extends TimerTask implements Plugin {
if (latestPresence.isAway()) {
Log.debug("UserIdlePlugin: Presence is already set to away");
} else {
Presence statusPresence = new Presence(Presence.Type.available, StringUtils.modifyWildcards(statustext), 1, Presence.Mode.away);
Presence statusPresence = new Presence(Presence.Type.available, StringUtils.modifyWildcards(statustext), 0, Presence.Mode.away);
SparkManager.getSessionManager().changePresence(statusPresence);
Log.debug("UserIdlePlugin: Setting idle presence");
}