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/online.rs | |
parent | 5f1bc4f2807614dca1ac84136a5c355fde65543a (diff) | |
download | luz-6d443f13fdeb78ea9dffab8762222572038d2ce3.tar.gz luz-6d443f13fdeb78ea9dffab8762222572038d2ce3.tar.bz2 luz-6d443f13fdeb78ea9dffab8762222572038d2ce3.zip |
feat(filamento): OPFS database
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 3936584..969e08a 100644 --- a/filamento/src/logic/online.rs +++ b/filamento/src/logic/online.rs @@ -478,7 +478,7 @@ pub async fn handle_set_status<Fs: FileStore + Clone>( pub async fn handle_send_message<Fs: FileStore + Clone>(logic: &ClientLogic<Fs>, connection: Connected, jid: JID, body: Body) { // upsert the chat and user the message will be delivered to. if there is a conflict, it will return whatever was there, otherwise it will return false by default. // let have_chatted = logic.db().upsert_chat_and_user(&jid).await.unwrap_or(false); - let have_chatted = match logic.db().upsert_chat_and_user(&jid).await { + let have_chatted = match logic.db().upsert_chat_and_user(jid.clone()).await { Ok(have_chatted) => { have_chatted }, |