diff --git a/source/org/jivesoftware/smack/packet/Presence.java b/source/org/jivesoftware/smack/packet/Presence.java index ebc20565b..c4f26eda6 100644 --- a/source/org/jivesoftware/smack/packet/Presence.java +++ b/source/org/jivesoftware/smack/packet/Presence.java @@ -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; }