mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
Adding handling of error presence packets (SMACK-260).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10907 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
b0614707bd
commit
b499581c7e
2 changed files with 32 additions and 4 deletions
|
@ -92,7 +92,10 @@ public class Presence extends Packet {
|
|||
* Returns true if the {@link Type presence type} is available (online) and
|
||||
* false if the user is unavailable (offline), or if this is a presence packet
|
||||
* involved in a subscription operation. This is a convenience method
|
||||
* equivalent to <tt>getType() == Presence.Type.available</tt>.
|
||||
* equivalent to <tt>getType() == Presence.Type.available</tt>. Note that even
|
||||
* when the user is available, their presence mode may be {@link Mode#away away},
|
||||
* {@link Mode#xa extended away} or {@link Mode#dnd do not disturb}. Use
|
||||
* {@link #isAway()} to determine if the user is away.
|
||||
*
|
||||
* @return true if the presence type is available.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue