mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22: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 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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue