MessageAdapter: code reformat

This commit is contained in:
Daniel Gultsch 2017-11-21 13:26:45 +01:00
parent 702d6cf2a5
commit 79ea0713bb

View file

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