1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-22 18:48:00 +01:00

Add MessageTypeFilter.NORMAL_OR_CHAT

This commit is contained in:
Florian Schmaus 2015-01-07 16:04:36 +01:00
parent e31b284afa
commit b23c3226d2

View file

@ -34,6 +34,7 @@ public class MessageTypeFilter extends FlexiblePacketTypeFilter<Message> {
public static final PacketFilter GROUPCHAT = new MessageTypeFilter(Type.groupchat);
public static final PacketFilter HEADLINE = new MessageTypeFilter(Type.headline);
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;