mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22:05 +01:00
Make MUC invitation rejected filter also filter by room address
Fixes SMACK-783.
This commit is contained in:
parent
fe61922fb7
commit
0da3ebf385
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ public class MultiUserChat {
|
||||||
new NotFilter(MessageWithThreadFilter.INSTANCE))
|
new NotFilter(MessageWithThreadFilter.INSTANCE))
|
||||||
);
|
);
|
||||||
// @formatter:on
|
// @formatter:on
|
||||||
connection.addSyncStanzaListener(declinesListener, DECLINE_FILTER);
|
connection.addSyncStanzaListener(declinesListener, new AndFilter(fromRoomFilter, DECLINE_FILTER));
|
||||||
connection.addPacketInterceptor(presenceInterceptor, new AndFilter(ToMatchesFilter.create(room),
|
connection.addPacketInterceptor(presenceInterceptor, new AndFilter(ToMatchesFilter.create(room),
|
||||||
StanzaTypeFilter.PRESENCE));
|
StanzaTypeFilter.PRESENCE));
|
||||||
messageCollector = connection.createStanzaCollector(fromRoomGroupchatFilter);
|
messageCollector = connection.createStanzaCollector(fromRoomGroupchatFilter);
|
||||||
|
|
Loading…
Reference in a new issue