Formatting fixes
This commit is contained in:
parent
992cf5652e
commit
9a0232f7e7
|
@ -901,13 +901,13 @@ public class AxolotlService {
|
||||||
|
|
||||||
XmppAxolotlSession session = sessions.get(senderAddress);
|
XmppAxolotlSession session = sessions.get(senderAddress);
|
||||||
if (session == null) {
|
if (session == null) {
|
||||||
Log.d(Config.LOGTAG, "No axolotl session found while parsing received message " + message);
|
Log.d(Config.LOGTAG, "Account: "+account.getJid()+" No axolotl session found while parsing received message " + message);
|
||||||
// TODO: handle this properly
|
// TODO: handle this properly
|
||||||
session = new XmppAxolotlSession(axolotlStore, senderAddress);
|
session = new XmppAxolotlSession(axolotlStore, senderAddress);
|
||||||
sessions.put(senderAddress,session);
|
sessions.put(senderAddress,session);
|
||||||
}
|
}
|
||||||
|
|
||||||
for(XmppAxolotlMessage.XmppAxolotlMessageHeader header : message.getHeaders()) {
|
for (XmppAxolotlMessage.XmppAxolotlMessageHeader header : message.getHeaders()) {
|
||||||
if (header.getRecipientDeviceId() == ownDeviceId) {
|
if (header.getRecipientDeviceId() == ownDeviceId) {
|
||||||
Log.d(Config.LOGTAG, "Found axolotl header matching own device ID, processing...");
|
Log.d(Config.LOGTAG, "Found axolotl header matching own device ID, processing...");
|
||||||
byte[] payloadKey = session.processReceiving(header);
|
byte[] payloadKey = session.processReceiving(header);
|
||||||
|
|
Loading…
Reference in New Issue