1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-09 10:19:41 +02:00

pep: notification type can be normal or headline

This commit is contained in:
Guus der Kinderen 2020-05-12 19:57:56 +02:00
parent f61ecb65e7
commit 577c59484b
2 changed files with 2 additions and 1 deletions

View file

@ -95,7 +95,7 @@ public final class PepManager extends Manager {
// TODO: Ideally PepManager would re-use PubSubManager for this. But the functionality in PubSubManager does not yet
// exist.
private static final StanzaFilter PEP_EVENTS_FILTER = new AndFilter(
MessageTypeFilter.HEADLINE,
MessageTypeFilter.NORMAL_OR_HEADLINE,
FromJidTypeFilter.ENTITY_BARE_JID,
EventItemsExtensionFilter.INSTANCE);