small send message change
This commit is contained in:
@@ -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 ---
|
||||
|
||||
Reference in New Issue
Block a user