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.

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created April 11, 2007 at 1:43 AM
Updated April 11, 2007 at 1:44 AM
Resolved April 11, 2007 at 1:44 AM