diff --git a/crates/lavina-core/src/repo/room.rs b/crates/lavina-core/src/repo/room.rs index 81d0398..eaeb1d0 100644 --- a/crates/lavina-core/src/repo/room.rs +++ b/crates/lavina-core/src/repo/room.rs @@ -48,7 +48,7 @@ impl Storage { where room_id = ? order by - created_at desc; + messages.id; ", ) .bind(room_id)