fixed muc invite with <body/>.

This commit is contained in:
Michael 2014-09-29 17:59:53 +02:00
parent 1ae9338fc9
commit c8160b010d

View File

@ -399,7 +399,9 @@ public class MessageParser extends AbstractParser implements
if (message != null) { if (message != null) {
message.markUnread(); message.markUnread();
} }
} else if (packet.hasChild("body")) { } else if (packet.hasChild("body")
&& !(packet.hasChild("x",
"http://jabber.org/protocol/muc#user"))) {
message = this.parseChat(packet, account); message = this.parseChat(packet, account);
if (message != null) { if (message != null) {
message.markUnread(); message.markUnread();