diff options
author | 2025-02-26 19:17:55 +0000 | |
---|---|---|
committer | 2025-02-26 19:17:55 +0000 | |
commit | 357311cb930f15be5d743143584883475cb42e5d (patch) | |
tree | 1ab40a2acfa648fdfc18fe9c5c4bc8aabc113a25 /luz/src/chat.rs | |
parent | 6b44ac8ea4cae137f412455d52ade9e239f4b816 (diff) | |
download | luz-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.rs | 2 |
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. |