diff options
author | 2025-04-08 12:16:55 +0100 | |
---|---|---|
committer | 2025-04-08 12:16:55 +0100 | |
commit | e518e899e53c072724254bd714db914cde7db5b2 (patch) | |
tree | b9a9d3c45e2b326adb6df9756678ef4050bb3589 /filamento/src/logic/online.rs | |
parent | 0b19cb38183929d3f242cfd11c34426d9302697c (diff) | |
download | luz-e518e899e53c072724254bd714db914cde7db5b2.tar.gz luz-e518e899e53c072724254bd714db914cde7db5b2.tar.bz2 luz-e518e899e53c072724254bd714db914cde7db5b2.zip |
fix(filamento): caps +notify and use hex representation for avatar metadata id
Diffstat (limited to 'filamento/src/logic/online.rs')
-rw-r--r-- | filamento/src/logic/online.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<Fs: FileStore + Clone>(logic: &ClientLogic<Fs> 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()); |