From 0fdda5bc4d962323847f354ff1050d7f34e883ef Mon Sep 17 00:00:00 2001 From: Alex Wenckus Date: Tue, 11 Jul 2006 01:33:18 +0000 Subject: [PATCH] Removed invisible mode. SMACK-147 git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4347 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/packet/Presence.java | 4 ---- 1 file changed, 4 deletions(-) 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; }