Fix an inverted boolean in a counter

This commit is contained in:
Jon Chambers 2024-02-16 15:18:18 -05:00
parent 9040cfd200
commit 36f85fc97e
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ public class KeysController {
Tag.of("targetPlatform", getDevicePlatform(device).map(Enum::name).orElse("unknown")),
Tag.of(IDENTITY_TYPE_TAG_NAME, targetIdentifier.identityType().name()),
Tag.of("isStale", String.valueOf(isDeviceStale(device))),
Tag.of("oneTimeEcKeyAvailable", String.valueOf(unsignedEcPreKey == null))))
Tag.of("oneTimeEcKeyAvailable", String.valueOf(unsignedEcPreKey != null))))
.increment();
if (signedEcPreKey != null || unsignedEcPreKey != null || pqPreKey != null) {