small send message change

This commit is contained in:
2026-01-07 12:35:50 +01:00
parent 170fedbcbd
commit 8d5a8c9dd8
5 changed files with 2 additions and 0 deletions

Binary file not shown.

Binary file not shown.

BIN
db/auth_copy_2.sqlite-shm Normal file

Binary file not shown.

View File

View File

@@ -307,6 +307,8 @@ pub async fn send_message(
params![&user_id, &payload.message, &payload.conv_id],
);
let message_id = conn.last_insert_rowid();
// FIXME: add sent_at and message id in the response.
match result {
Ok(rows) if rows > 0 => {
// --- send to conversation participants ---