From 2c43c6d64082ee1d01b86763d57e0f54a1406182 Mon Sep 17 00:00:00 2001 From: Quishot WADEV <70950705+Darker935@users.noreply.github.com> Date: Sun, 16 Jun 2024 22:14:09 -0300 Subject: [PATCH] Upper-case --- .../it/auties/whatsapp/model/message/model/ChatMessageKey.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/it/auties/whatsapp/model/message/model/ChatMessageKey.java b/src/main/java/it/auties/whatsapp/model/message/model/ChatMessageKey.java index d00cf567..ab188699 100644 --- a/src/main/java/it/auties/whatsapp/model/message/model/ChatMessageKey.java +++ b/src/main/java/it/auties/whatsapp/model/message/model/ChatMessageKey.java @@ -91,7 +91,7 @@ private static String randomWebKeyId(Jid jid) { byte[] hash = digest.digest(buffer.array()); byte[] truncatedHash = new byte[9]; System.arraycopy(hash, 0, truncatedHash, 0, 9); - return "3EB0" + HexFormat.of().formatHex(truncatedHash); + return "3EB0" + HexFormat.of().formatHex(truncatedHash).toUpperCase(); } catch (NoSuchAlgorithmException e) { throw new RuntimeException(e); }