Fix OMEMO session creating loggin

Now prints the correct JID to the log when finding devices without
sessions.
This commit is contained in:
Andreas Straub 2015-12-31 15:48:43 +01:00
parent 42fb9539f8
commit 58d213f291

View File

@ -731,7 +731,7 @@ public class AxolotlService implements OnAdvancedStreamFeaturesLoaded {
XmppAxolotlSession session = new XmppAxolotlSession(account, axolotlStore, address, identityKey);
sessions.put(address, session);
} else {
Log.d(Config.LOGTAG, AxolotlService.getLogprefix(account) + "Found device " + account.getJid().toBareJid() + ":" + foreignId);
Log.d(Config.LOGTAG, AxolotlService.getLogprefix(account) + "Found device " + contactJid + ":" + foreignId);
if (fetchStatusMap.get(address) != FetchStatus.ERROR) {
addresses.add(address);
} else {