From 9c2f6dcfbca552f100c38c551c10c46fa7c518b4 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Mon, 5 Jan 2015 20:17:03 +0100 Subject: [PATCH] Add IQTypeFilter.GET_OR_SET --- .../main/java/org/jivesoftware/smack/filter/IQTypeFilter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/filter/IQTypeFilter.java b/smack-core/src/main/java/org/jivesoftware/smack/filter/IQTypeFilter.java index d6269aa35..f0cccb245 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/filter/IQTypeFilter.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/filter/IQTypeFilter.java @@ -32,6 +32,7 @@ public class IQTypeFilter extends FlexiblePacketTypeFilter { public static final PacketFilter SET = new IQTypeFilter(Type.set); public static final PacketFilter RESULT = new IQTypeFilter(Type.result); public static final PacketFilter ERROR = new IQTypeFilter(Type.error); + public static final PacketFilter GET_OR_SET = new OrFilter(GET, SET); private final IQ.Type type;