git » sdk » commit 5c248ed

Caps actually expects the padding

author Stephen Paul Weber
2023-09-27 18:09:39 UTC
committer Stephen Paul Weber
2023-09-27 18:09:39 UTC
parent f87f7b83a17aa210860f0326af79d7f745e48428

Caps actually expects the padding

xmpp/Caps.hx +1 -1

diff --git a/xmpp/Caps.hx b/xmpp/Caps.hx
index 35828a4..cc57ba8 100644
--- a/xmpp/Caps.hx
+++ b/xmpp/Caps.hx
@@ -78,7 +78,7 @@ class Caps {
 		for (feature in features) {
 			s += feature + "<";
 		}
-		return Base64.encode(Sha1.make(Bytes.ofString(s)), false);
+		return Base64.encode(Sha1.make(Bytes.ofString(s)), true);
 	}
 }