Merge pull request #505 from betheg/fix_invite
fixed muc invite with <body/>.
This commit is contained in:
commit
0733a94127
|
@ -404,7 +404,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();
|
||||||
|
|
Loading…
Reference in New Issue