@Bean(name="muted-filter", parent=PushNotifications.class, active=true) public class MutedFilter extends Object implements PushNotificationsFilter
Constructor and Description |
---|
MutedFilter() |
Modifier and Type | Method and Description |
---|---|
Element[] |
getDiscoFeatures() |
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.