Use PacketTypeFilter.PRESENCE in EntityCapsManager

This commit is contained in:
Florian Schmaus 2014-10-12 19:21:49 +02:00
parent 63d52f6eaa
commit 55d7c57a4f
1 changed files with 1 additions and 1 deletions

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