mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 20:12:07 +01:00
Fix chat2.ChatManager's message filter
Thanks to Andras Csete for pointing this out.
This commit is contained in:
parent
684d33b773
commit
bf1e07e672
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ public final class ChatManager extends Manager {
|
||||||
// @FORMATTER:OFF
|
// @FORMATTER:OFF
|
||||||
private static final StanzaFilter MESSAGE_FILTER = new AndFilter(
|
private static final StanzaFilter MESSAGE_FILTER = new AndFilter(
|
||||||
MessageTypeFilter.NORMAL_OR_CHAT,
|
MessageTypeFilter.NORMAL_OR_CHAT,
|
||||||
new OrFilter(MessageWithBodiesFilter.INSTANCE), new StanzaExtensionFilter(XHTMLExtension.ELEMENT, XHTMLExtension.NAMESPACE)
|
new OrFilter(MessageWithBodiesFilter.INSTANCE, new StanzaExtensionFilter(XHTMLExtension.ELEMENT, XHTMLExtension.NAMESPACE))
|
||||||
);
|
);
|
||||||
|
|
||||||
private static final StanzaFilter OUTGOING_MESSAGE_FILTER = new AndFilter(
|
private static final StanzaFilter OUTGOING_MESSAGE_FILTER = new AndFilter(
|
||||||
|
|
Loading…
Reference in a new issue