diff options
Diffstat (limited to 'luz/src/connection/read.rs')
-rw-r--r-- | luz/src/connection/read.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/luz/src/connection/read.rs b/luz/src/connection/read.rs index 46f1dc9..4390e00 100644 --- a/luz/src/connection/read.rs +++ b/luz/src/connection/read.rs @@ -202,9 +202,10 @@ async fn handle_stanza( }; // TODO: can this be more efficient? let result = db - .create_message_with_user_and_chat(message.clone(), from.clone()) + .create_message_with_user_resource_and_chat(message.clone(), from.clone()) .await; if let Err(e) = result { + tracing::error!("messagecreate"); let _ = update_sender .send(UpdateMessage::Error(Error::CacheUpdate(e.into()))) .await; |