Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.0 Beta 1
-
Fix Version/s: 3.0.0 Beta 2
-
Component/s: None
-
Labels:None
-
Acceptance Test - Add?:No
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).