Add more logging to pep attemp counter logic
This commit is contained in:
parent
eafcf38ec9
commit
25a9d59412
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue