mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
SPARK-1564 Idle should set priority to 0
This commit is contained in:
@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user