Add convenience methods to Presence

Description

Add two convenience methods to Presence:

isAvailable – returns true if the presence type is available, false if the presence type is unavailable
isAway – returns true if the presence type is available and the mode is away, xa or dnd. False otherwise (including when the user is offline).

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created February 17, 2007 at 8:17 AM
Updated February 18, 2007 at 3:43 AM
Resolved February 18, 2007 at 3:43 AM