1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-26 20:47:58 +01:00

Use PacketTypeFilter.PRESENCE in EntityCapsManager

This commit is contained in:
Florian Schmaus 2014-10-12 19:21:49 +02:00
parent 63d52f6eaa
commit 55d7c57a4f

View file

@ -90,7 +90,7 @@ public class EntityCapsManager extends Manager {
ELEMENT, NAMESPACE));
private static final PacketFilter PRESENCES_WITHOUT_CAPS = new AndFilter(new PacketTypeFilter(Presence.class), new NotFilter(new PacketExtensionFilter(
ELEMENT, NAMESPACE)));
private static final PacketFilter PRESENCES = new PacketTypeFilter(Presence.class);
private static final PacketFilter PRESENCES = PacketTypeFilter.PRESENCE;
/**
* Map of (node + '#" + hash algorithm) to DiscoverInfo data