Fix a Chat2 integration bug

This commit is contained in:
Loporrit
2025-08-23 07:23:35 +00:00
parent ae1837b8f5
commit 2168fa91ce

View File

@@ -28,6 +28,8 @@ public static class ChatUtils
{
var gidBytes = UTF8Encoding.UTF8.GetBytes(gid);
var hashedBytes = MD5.HashData(gidBytes);
for (int i = 0; i < hashedBytes.Length; ++i)
hashedBytes[i] ^= 0x01;
var guid = new Guid(hashedBytes);
return CreateExtraChatTagPayload(guid);
}