From 3abe88cd128b249f2038e13dbedcbd8341830126 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Tue, 8 Apr 2025 13:21:35 +0100 Subject: fix(filamento): use jpeg for user avatar on avatar:data node --- filamento/src/lib.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'filamento/src/lib.rs') diff --git a/filamento/src/lib.rs b/filamento/src/lib.rs index 42646be..7946241 100644 --- a/filamento/src/lib.rs +++ b/filamento/src/lib.rs @@ -191,6 +191,15 @@ pub struct Client { timeout: Duration, } +impl Client { + pub fn with_timeout(&self, timeout: Duration) -> Self { + Self { + sender: self.sender.clone(), + timeout, + } + } +} + impl Clone for Client { fn clone(&self) -> Self { Self { -- cgit