mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +01:00
Add MessageTypeFilter.NORMAL_OR_CHAT
This commit is contained in:
parent
e31b284afa
commit
b23c3226d2
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ public class MessageTypeFilter extends FlexiblePacketTypeFilter<Message> {
|
||||||
public static final PacketFilter GROUPCHAT = new MessageTypeFilter(Type.groupchat);
|
public static final PacketFilter GROUPCHAT = new MessageTypeFilter(Type.groupchat);
|
||||||
public static final PacketFilter HEADLINE = new MessageTypeFilter(Type.headline);
|
public static final PacketFilter HEADLINE = new MessageTypeFilter(Type.headline);
|
||||||
public static final PacketFilter ERROR = new MessageTypeFilter(Type.error);
|
public static final PacketFilter ERROR = new MessageTypeFilter(Type.error);
|
||||||
|
public static final PacketFilter NORMAL_OR_CHAT = new OrFilter(NORMAL, CHAT);
|
||||||
|
|
||||||
private final Message.Type type;
|
private final Message.Type type;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue