Fix span when adding messages
This commit is contained in:
parent
54b056ba1c
commit
4e4eb036e0
1 changed files with 1 additions and 1 deletions
|
|
@ -344,7 +344,7 @@ impl EuphRequest {
|
|||
Self::add_span(&tx, &room, None, next_msg_id)?;
|
||||
} else {
|
||||
let first_msg_id = msgs.first().unwrap().id;
|
||||
let last_msg_id = msgs.first().unwrap().id;
|
||||
let last_msg_id = msgs.last().unwrap().id;
|
||||
|
||||
let mut stmt = tx.prepare("
|
||||
INSERT OR REPLACE INTO euph_msgs (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue