mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 22:12:05 +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:
parent
639386759a
commit
0fdda5bc4d
1 changed files with 0 additions and 4 deletions
|
@ -284,7 +284,6 @@ public class Presence extends Packet {
|
||||||
public static final Mode AWAY = new Mode("away");
|
public static final Mode AWAY = new Mode("away");
|
||||||
public static final Mode EXTENDED_AWAY = new Mode("xa");
|
public static final Mode EXTENDED_AWAY = new Mode("xa");
|
||||||
public static final Mode DO_NOT_DISTURB = new Mode("dnd");
|
public static final Mode DO_NOT_DISTURB = new Mode("dnd");
|
||||||
public static final Mode INVISIBLE = new Mode("invisible");
|
|
||||||
|
|
||||||
private String value;
|
private String value;
|
||||||
|
|
||||||
|
@ -316,9 +315,6 @@ public class Presence extends Packet {
|
||||||
else if (value.equals("dnd")) {
|
else if (value.equals("dnd")) {
|
||||||
return DO_NOT_DISTURB;
|
return DO_NOT_DISTURB;
|
||||||
}
|
}
|
||||||
else if (value.equals("invisible")) {
|
|
||||||
return INVISIBLE;
|
|
||||||
}
|
|
||||||
else {
|
else {
|
||||||
return AVAILABLE;
|
return AVAILABLE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue