@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 PushNotificationsAwarepublic void processEnableElement(Element enableEl, Element settingsEl)
processEnableElement in interface PushNotificationsAwarepublic boolean isSendingNotificationAllowed(BareJID userJid, XMPPResourceConnection session, Element pushServiceSettings, Packet packet)
isSendingNotificationAllowed in interface PushNotificationsFilterCopyright © 2004–2021 "Tigase, Inc.". All rights reserved.