1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 14:02:06 +01:00

Removed invisible mode. SMACK-147

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4347 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Alex Wenckus 2006-07-11 01:33:18 +00:00 committed by alex
parent 639386759a
commit 0fdda5bc4d

View file

@ -284,7 +284,6 @@ public class Presence extends Packet {
public static final Mode AWAY = new Mode("away");
public static final Mode EXTENDED_AWAY = new Mode("xa");
public static final Mode DO_NOT_DISTURB = new Mode("dnd");
public static final Mode INVISIBLE = new Mode("invisible");
private String value;
@ -316,9 +315,6 @@ public class Presence extends Packet {
else if (value.equals("dnd")) {
return DO_NOT_DISTURB;
}
else if (value.equals("invisible")) {
return INVISIBLE;
}
else {
return AVAILABLE;
}