MessageAdapter: code reformat

This commit is contained in:
Daniel Gultsch 2017-11-21 13:26:45 +01:00
parent 702d6cf2a5
commit 79ea0713bb
1 changed files with 37 additions and 38 deletions

View File

@ -187,6 +187,7 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece
final Jid jid;
final String password;
final Contact inviter;
Invite(Jid jid, String password, Contact inviter) {
this.jid = jid;
this.password = password;
@ -690,8 +691,6 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece
}
}
Element received = packet.findChild("received", "urn:xmpp:chat-markers:0");
if (received == null) {
received = packet.findChild("received", "urn:xmpp:receipts");