aboutsummaryrefslogtreecommitdiffstats
path: root/luz/src/chat.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2025-02-26 19:17:55 +0000
committerLibravatar cel 🌸 <cel@bunny.garden>2025-02-26 19:17:55 +0000
commit357311cb930f15be5d743143584883475cb42e5d (patch)
tree1ab40a2acfa648fdfc18fe9c5c4bc8aabc113a25 /luz/src/chat.rs
parent6b44ac8ea4cae137f412455d52ade9e239f4b816 (diff)
downloadluz-357311cb930f15be5d743143584883475cb42e5d.tar.gz
luz-357311cb930f15be5d743143584883475cb42e5d.tar.bz2
luz-357311cb930f15be5d743143584883475cb42e5d.zip
fix: send UpdateMessage for Message sent by client user
Diffstat (limited to 'luz/src/chat.rs')
-rw-r--r--luz/src/chat.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/luz/src/chat.rs b/luz/src/chat.rs
index 7bb99e1..8bb81db 100644
--- a/luz/src/chat.rs
+++ b/luz/src/chat.rs
@@ -26,7 +26,7 @@ pub struct Body {
pub body: String,
}
-#[derive(sqlx::FromRow)]
+#[derive(sqlx::FromRow, Debug, Clone)]
pub struct Chat {
pub correspondent: JID,
// message history is not stored in chat, retreived separately.