diff options
| author | 2025-04-17 17:30:22 +0100 | |
|---|---|---|
| committer | 2025-04-17 17:30:22 +0100 | |
| commit | 61b755c890dcaa66daa35942ca87cc00269b0fe9 (patch) | |
| tree | 36190a844cfef474d5e11fe473db462bb4a4d135 /filamento/src/logic | |
| parent | 26d0ee51e232b793bc83ba565c0e9ab820d8d0db (diff) | |
| download | luz-61b755c890dcaa66daa35942ca87cc00269b0fe9.tar.gz luz-61b755c890dcaa66daa35942ca87cc00269b0fe9.tar.bz2 luz-61b755c890dcaa66daa35942ca87cc00269b0fe9.zip | |
feat(filamento): full wasm support by switching to rusqlite
Diffstat (limited to '')
| -rw-r--r-- | filamento/src/logic/offline.rs | 2 | ||||
| -rw-r--r-- | filamento/src/logic/online.rs | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/filamento/src/logic/offline.rs b/filamento/src/logic/offline.rs index b87484c..55e3d4a 100644 --- a/filamento/src/logic/offline.rs +++ b/filamento/src/logic/offline.rs @@ -159,7 +159,7 @@ pub async fn handle_offline_result<Fs: FileStore + Clone>(              // TODO: mark these as potentially failed upon client launch              if let Err(e) = logic                  .db() -                .create_message_with_self_resource( +                .create_message_with_user_resource(                      message.clone(),                      jid.clone(),                      // TODO: when message is queued and sent, the from must also be updated with the correct resource diff --git a/filamento/src/logic/online.rs b/filamento/src/logic/online.rs index 767f923..c0c3a7f 100644 --- a/filamento/src/logic/online.rs +++ b/filamento/src/logic/online.rs @@ -523,7 +523,7 @@ pub async fn handle_send_message<Fs: FileStore + Clone>(logic: &ClientLogic<Fs>,      // TODO: mark these as potentially failed upon client launch      if let Err(e) = logic          .db() -        .create_message_with_self_resource(message.clone(), jid.clone(), connection.jid().clone()) +        .create_message_with_user_resource(message.clone(), jid.clone(), connection.jid().clone())          .await      {          // TODO: should these really be handle_error or just the error macro? | 
