Spark is setting negative priority when switching to Idle

Description

After the recent change to presence management code Spark is setting priority to -2 when going Idle. Which results in messages being stored as offline, until the client goes Online again. Although the client is technically online (just Away for a long time). E.g. a user might be away and then disconnect his laptop and go to other place without connecting to the network and in this case he won't see latest messages, which should be received while he was away.

Environment

None

Activity

Show:

wroot April 19, 2016 at 8:12 PM

Merged (and for the first time automatically squashed ) https://github.com/igniterealtime/Spark/pull/127

speedy April 19, 2016 at 7:30 PM

submitted PR #127 which removed the use of the negative value in the presence priority.

Fixed

Details

Priority

Assignee

Reporter

Affects versions

Fix versions

Components

Ignite Forum URL

Created April 15, 2016 at 4:00 AM
Updated October 28, 2020 at 1:44 PM
Resolved April 19, 2016 at 8:12 PM