Class EligibleForChatMarkerFilter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • accept

        public 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.
        Specified by:
        accept in interface StanzaFilter
        Overrides:
        accept in class StanzaExtensionFilter
        Parameters:
        message - to be analyzed.
        Returns:
        true if the message contains a stanza Id.
        See Also:
        XEP-0333: Chat Markers