public final class EligibleForChatMarkerFilter extends StanzaExtensionFilter
Modifier and Type | Field and Description |
---|---|
static EligibleForChatMarkerFilter |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(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. |
toString
public static final EligibleForChatMarkerFilter INSTANCE
public boolean accept(Stanza message)
accept
in interface StanzaFilter
accept
in class StanzaExtensionFilter
message
- to be analyzed.