mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-22 20:47:57 +01:00
Rename EligibleForChatMarker to EligibleForChatMarkerFilter
This commit is contained in:
parent
3f1b18636e
commit
3547fde91c
2 changed files with 6 additions and 6 deletions
|
@ -44,7 +44,7 @@ import org.jivesoftware.smack.packet.Message;
|
|||
import org.jivesoftware.smack.packet.Stanza;
|
||||
import org.jivesoftware.smackx.chat_markers.element.ChatMarkersElements;
|
||||
import org.jivesoftware.smackx.chat_markers.filter.ChatMarkersFilter;
|
||||
import org.jivesoftware.smackx.chat_markers.filter.EligibleForChatMarker;
|
||||
import org.jivesoftware.smackx.chat_markers.filter.EligibleForChatMarkerFilter;
|
||||
import org.jivesoftware.smackx.disco.ServiceDiscoveryManager;
|
||||
|
||||
import org.jxmpp.jid.EntityBareJid;
|
||||
|
@ -76,14 +76,14 @@ public final class ChatMarkersManager extends Manager {
|
|||
MessageTypeFilter.NORMAL_OR_CHAT,
|
||||
new StanzaExtensionFilter(ChatMarkersElements.NAMESPACE),
|
||||
PossibleFromTypeFilter.ENTITY_BARE_JID,
|
||||
EligibleForChatMarker.INSTANCE
|
||||
EligibleForChatMarkerFilter.INSTANCE
|
||||
);
|
||||
|
||||
private static final StanzaFilter OUTGOING_MESSAGE_FILTER = new AndFilter(
|
||||
MessageTypeFilter.NORMAL_OR_CHAT,
|
||||
MessageWithBodiesFilter.INSTANCE,
|
||||
new NotFilter(ChatMarkersFilter.INSTANCE),
|
||||
EligibleForChatMarker.INSTANCE
|
||||
EligibleForChatMarkerFilter.INSTANCE
|
||||
);
|
||||
// @FORMATTER:ON
|
||||
|
||||
|
|
|
@ -29,11 +29,11 @@ import org.jivesoftware.smackx.chatstates.ChatStateManager;
|
|||
* @see <a href="http://xmpp.org/extensions/xep-0333.html">XEP-0333: Chat
|
||||
* Markers</a>
|
||||
*/
|
||||
public final class EligibleForChatMarker extends StanzaExtensionFilter {
|
||||
public final class EligibleForChatMarkerFilter extends StanzaExtensionFilter {
|
||||
|
||||
public static final EligibleForChatMarker INSTANCE = new EligibleForChatMarker(ChatStateManager.NAMESPACE);
|
||||
public static final EligibleForChatMarkerFilter INSTANCE = new EligibleForChatMarkerFilter(ChatStateManager.NAMESPACE);
|
||||
|
||||
private EligibleForChatMarker(String namespace) {
|
||||
private EligibleForChatMarkerFilter(String namespace) {
|
||||
super(namespace);
|
||||
}
|
||||
|
Loading…
Reference in a new issue