Add more logging to pep attemp counter logic

This commit is contained in:
Andreas Straub 2015-08-25 18:52:36 +02:00
parent eafcf38ec9
commit 25a9d59412

View file

@ -259,6 +259,7 @@ public class AxolotlService {
public void registerDevices(final Jid jid, @NonNull final Set<Integer> deviceIds) { public void registerDevices(final Jid jid, @NonNull final Set<Integer> deviceIds) {
if (jid.toBareJid().equals(account.getJid().toBareJid())) { if (jid.toBareJid().equals(account.getJid().toBareJid())) {
if (!deviceIds.isEmpty()) { if (!deviceIds.isEmpty()) {
Log.d(Config.LOGTAG, getLogprefix(account) + "Received non-empty own device list. Resetting publish attemps and pepBroken status.");
pepBroken = false; pepBroken = false;
numPublishTriesOnEmptyPep = 0; numPublishTriesOnEmptyPep = 0;
} }