mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 02:50:39 +00:00
Fix prekey log output
This commit is contained in:
parent
b3f550ee68
commit
e0a326f15b
1 changed files with 3 additions and 3 deletions
|
@ -46,16 +46,16 @@ public class PreKeyHelper {
|
||||||
preKeyCounts = new OneTimePreKeyCounts(0, 0);
|
preKeyCounts = new OneTimePreKeyCounts(0, 0);
|
||||||
}
|
}
|
||||||
if (preKeyCounts.getEcCount() < ServiceConfig.PREKEY_MINIMUM_COUNT) {
|
if (preKeyCounts.getEcCount() < ServiceConfig.PREKEY_MINIMUM_COUNT) {
|
||||||
logger.debug("Refreshing {} ec pre keys, because only {} of {} pre keys remain",
|
logger.debug("Refreshing {} ec pre keys, because only {} of min {} pre keys remain",
|
||||||
serviceIdType,
|
serviceIdType,
|
||||||
preKeyCounts.getEcCount(),
|
preKeyCounts.getEcCount(),
|
||||||
ServiceConfig.PREKEY_MINIMUM_COUNT);
|
ServiceConfig.PREKEY_MINIMUM_COUNT);
|
||||||
refreshPreKeys(serviceIdType);
|
refreshPreKeys(serviceIdType);
|
||||||
}
|
}
|
||||||
if (preKeyCounts.getKyberCount() < ServiceConfig.PREKEY_MINIMUM_COUNT) {
|
if (preKeyCounts.getKyberCount() < ServiceConfig.PREKEY_MINIMUM_COUNT) {
|
||||||
logger.debug("Refreshing {} kyber pre keys, because only {} of {} pre keys remain",
|
logger.debug("Refreshing {} kyber pre keys, because only {} of min {} pre keys remain",
|
||||||
serviceIdType,
|
serviceIdType,
|
||||||
preKeyCounts.getEcCount(),
|
preKeyCounts.getKyberCount(),
|
||||||
ServiceConfig.PREKEY_MINIMUM_COUNT);
|
ServiceConfig.PREKEY_MINIMUM_COUNT);
|
||||||
refreshKyberPreKeys(serviceIdType);
|
refreshKyberPreKeys(serviceIdType);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue