diff options
Diffstat (limited to 'filamento/src/logic/online.rs')
-rw-r--r-- | filamento/src/logic/online.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/filamento/src/logic/online.rs b/filamento/src/logic/online.rs index 8bbeaa5..05d3f2b 100644 --- a/filamento/src/logic/online.rs +++ b/filamento/src/logic/online.rs @@ -454,11 +454,7 @@ pub async fn handle_set_status( connection: Connected, online: Online, ) -> Result<(), StatusError> { - logic - .db() - .upsert_cached_status(online.clone()) - .await - .map_err(|e| DatabaseError(e.into()))?; + logic.db().upsert_cached_status(online.clone()).await?; connection .write_handle() .write(Stanza::Presence(online.into_stanza(None))) |