Formatting fixes
This commit is contained in:
parent
c1116b6066
commit
7680a24180
|
@ -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