chore: refactor message sending (#172)

* refactor send message

* refactor resend

* fix

* refactor

* clean up
This commit is contained in:
reya
2025-09-30 08:59:38 +07:00
committed by GitHub
parent 880ba30d20
commit 0db48bc003
6 changed files with 337 additions and 322 deletions
+1 -1
View File
@@ -437,7 +437,7 @@ impl Registry {
// Update room
room.update(cx, |this, cx| {
if is_new_event {
this.created_at(event.created_at, cx);
this.set_created_at(event.created_at, cx);
}
// Set this room is ongoing if the new message is from current user