Presences with a negative priority of -1 are not sending the priority to the server
Description
Smack is using the -1 value in the Presence priority as a way to indicate that the priority was never set but the user. The problem is that if the user sets a value of -1 then the priority is never sent to the server. Use the Integer.MIN_VALUE as a way to indicate that the presence was never set.
Smack is using the -1 value in the Presence priority as a way to indicate that the priority was never set but the user. The problem is that if the user sets a value of -1 then the priority is never sent to the server. Use the Integer.MIN_VALUE as a way to indicate that the presence was never set.