public final class EligibleForChatMarkerFilter
extends org.jivesoftware.smack.filter.StanzaExtensionFilter
Modifier and Type | Field and Description |
---|---|
static EligibleForChatMarkerFilter |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(org.jivesoftware.smack.packet.Stanza message)
From XEP-0333, Protocol Format: The Chat Marker MUST have an 'id' which is the 'id' of the
message being marked.
In order to make Chat Markers works together with XEP-0085 as it said in 8.5 Interaction with Chat States, only messages with active chat state are accepted. |
public static final EligibleForChatMarkerFilter INSTANCE
public boolean accept(org.jivesoftware.smack.packet.Stanza message)
accept
in interface org.jivesoftware.smack.filter.StanzaFilter
accept
in class org.jivesoftware.smack.filter.StanzaExtensionFilter
message
- to be analyzed.