Fix an inverted boolean in a counter
This commit is contained in:
parent
9040cfd200
commit
36f85fc97e
|
@ -288,7 +288,7 @@ public class KeysController {
|
||||||
Tag.of("targetPlatform", getDevicePlatform(device).map(Enum::name).orElse("unknown")),
|
Tag.of("targetPlatform", getDevicePlatform(device).map(Enum::name).orElse("unknown")),
|
||||||
Tag.of(IDENTITY_TYPE_TAG_NAME, targetIdentifier.identityType().name()),
|
Tag.of(IDENTITY_TYPE_TAG_NAME, targetIdentifier.identityType().name()),
|
||||||
Tag.of("isStale", String.valueOf(isDeviceStale(device))),
|
Tag.of("isStale", String.valueOf(isDeviceStale(device))),
|
||||||
Tag.of("oneTimeEcKeyAvailable", String.valueOf(unsignedEcPreKey == null))))
|
Tag.of("oneTimeEcKeyAvailable", String.valueOf(unsignedEcPreKey != null))))
|
||||||
.increment();
|
.increment();
|
||||||
|
|
||||||
if (signedEcPreKey != null || unsignedEcPreKey != null || pqPreKey != null) {
|
if (signedEcPreKey != null || unsignedEcPreKey != null || pqPreKey != null) {
|
||||||
|
|
Loading…
Reference in New Issue