diff options
author | 2025-03-27 19:09:35 +0000 | |
---|---|---|
committer | 2025-03-27 19:09:35 +0000 | |
commit | a367aca33fecc03270b5b9ad2a6a21281d760fd8 (patch) | |
tree | 695270823ee5d55f483875580c509fb2c300bd26 /filamento/src/lib.rs | |
parent | 83a6aa0574190137b38331bd53795324139237cf (diff) | |
download | luz-a367aca33fecc03270b5b9ad2a6a21281d760fd8.tar.gz luz-a367aca33fecc03270b5b9ad2a6a21281d760fd8.tar.bz2 luz-a367aca33fecc03270b5b9ad2a6a21281d760fd8.zip |
refactor(filamento): handle_online logic
Diffstat (limited to 'filamento/src/lib.rs')
-rw-r--r-- | filamento/src/lib.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/filamento/src/lib.rs b/filamento/src/lib.rs index 1e9207c..89da1a3 100644 --- a/filamento/src/lib.rs +++ b/filamento/src/lib.rs @@ -178,12 +178,7 @@ impl Client { timeout: Duration::from_secs(10), }; - let logic = ClientLogic::new( - client.clone(), - db, - Arc::new(Mutex::new(HashMap::new())), - update_send, - ); + let logic = ClientLogic::new(client.clone(), db, update_send); let actor: CoreClient<ClientLogic> = CoreClient::new(jid, password, command_receiver, None, sup_recv, logic); |