aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Straub <andy@strb.org>2015-08-25 18:52:36 +0200
committerAndreas Straub <andy@strb.org>2015-08-25 18:52:36 +0200
commit25a9d59412690528c86df6fb7d73a3bfba12825c (patch)
tree0941a2c7752ac9c5d10ab6157cbe216ac7f9cc79
parenteafcf38ec9efc635ce81b8dd7d867eba67072873 (diff)
Add more logging to pep attemp counter logic
-rw-r--r--src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java b/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java
index a724429d..42e87494 100644
--- a/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java
+++ b/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java
@@ -259,6 +259,7 @@ public class AxolotlService {
public void registerDevices(final Jid jid, @NonNull final Set<Integer> deviceIds) {
if (jid.toBareJid().equals(account.getJid().toBareJid())) {
if (!deviceIds.isEmpty()) {
+ Log.d(Config.LOGTAG, getLogprefix(account) + "Received non-empty own device list. Resetting publish attemps and pepBroken status.");
pepBroken = false;
numPublishTriesOnEmptyPep = 0;
}