From e518e899e53c072724254bd714db914cde7db5b2 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Tue, 8 Apr 2025 12:16:55 +0100 Subject: fix(filamento): caps +notify and use hex representation for avatar metadata id --- filamento/src/logic/online.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filamento/src/logic/online.rs') diff --git a/filamento/src/logic/online.rs b/filamento/src/logic/online.rs index 745adc1..5b57f84 100644 --- a/filamento/src/logic/online.rs +++ b/filamento/src/logic/online.rs @@ -906,7 +906,7 @@ pub async fn handle_change_avatar(logic: &ClientLogic let mut sha1 = Sha1::new(); sha1.update(&data_png); let sha1_result = sha1.finalize(); - let hash = BASE64_STANDARD.encode(sha1_result); + let hash = hex::encode(sha1_result); // encode the image data as base64 let data_b64 = BASE64_STANDARD.encode(data_png.clone()); -- cgit