@Bean(name="groupchat-filter", parent=PushNotifications.class, active=true) public class GroupchatFilter extends Object implements PushNotificationsFilter
Constructor and Description |
---|
GroupchatFilter() |
Modifier and Type | Method and Description |
---|---|
Element[] |
getDiscoFeatures() |
protected boolean |
isMentioned(Packet packet,
String nick) |
boolean |
isSendingNotificationAllowed(BareJID userJid,
XMPPResourceConnection session,
Element pushServiceSettings,
Packet packet) |
void |
processEnableElement(Element enableEl,
Element settingsEl) |
public static final String XMLNS
public static final String ID
public Element[] getDiscoFeatures()
getDiscoFeatures
in interface PushNotificationsAware
public void processEnableElement(Element enableEl, Element settingsEl)
processEnableElement
in interface PushNotificationsAware
public boolean isSendingNotificationAllowed(BareJID userJid, XMPPResourceConnection session, Element pushServiceSettings, Packet packet)
isSendingNotificationAllowed
in interface PushNotificationsFilter
Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.