diff options
author | 2025-05-08 14:18:53 +0100 | |
---|---|---|
committer | 2025-05-08 14:33:32 +0100 | |
commit | 6d443f13fdeb78ea9dffab8762222572038d2ce3 (patch) | |
tree | 2344f741ee6969afcd5fffdeea0f03fd3454ecb7 /filamento/src/logic/process_stanza.rs | |
parent | 5f1bc4f2807614dca1ac84136a5c355fde65543a (diff) | |
download | luz-6d443f13fdeb78ea9dffab8762222572038d2ce3.tar.gz luz-6d443f13fdeb78ea9dffab8762222572038d2ce3.tar.bz2 luz-6d443f13fdeb78ea9dffab8762222572038d2ce3.zip |
feat(filamento): OPFS databasewasm
Diffstat (limited to 'filamento/src/logic/process_stanza.rs')
-rw-r--r-- | filamento/src/logic/process_stanza.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filamento/src/logic/process_stanza.rs b/filamento/src/logic/process_stanza.rs index 81c3b1f..3bc4b8c 100644 --- a/filamento/src/logic/process_stanza.rs +++ b/filamento/src/logic/process_stanza.rs @@ -80,7 +80,7 @@ pub async fn recv_message<Fs: FileStore + Clone>( // TODO: process message type="error" // save the message to the database - match logic.db().upsert_chat_and_user(&from).await { + match logic.db().upsert_chat_and_user(from.clone()).await { Ok(_) => { if let Err(e) = logic .db() @@ -590,7 +590,7 @@ pub async fn recv_iq<Fs: FileStore + Clone>( } else { match logic .db() - .read_capabilities(&query.node.clone().unwrap()) + .read_capabilities(query.node.clone().unwrap()) .await { Ok(c) => match caps::decode_info_base64(c) { |