Skip to:
Add two convenience methods to Presence:
isAvailable – returns true if the presence type is available, false if the presence type is unavailableisAway – returns true if the presence type is available and the mode is away, xa or dnd. False otherwise (including when the user is offline).
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).