fixed false set of subject in conference with empty body tag

This commit is contained in:
Daniel Gultsch 2016-01-31 14:42:35 +01:00
parent 82870b27ed
commit 2eef37174e

View File

@ -454,7 +454,7 @@ public class MessageParser extends AbstractParser implements
mXmppConnectionService.getNotificationService().pushFromBacklog(message); mXmppConnectionService.getNotificationService().pushFromBacklog(message);
} }
} }
} else { //no body } else if (!packet.hasChild("body")){ //no body
if (isTypeGroupChat) { if (isTypeGroupChat) {
Conversation conversation = mXmppConnectionService.find(account, from.toBareJid()); Conversation conversation = mXmppConnectionService.find(account, from.toBareJid());
if (packet.hasChild("subject")) { if (packet.hasChild("subject")) {