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
1 changed files with 1 additions and 1 deletions

View File

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