File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ impl SessionPersister for SenderPersister {
6868 {
6969 let conn = self . db . get_connection ( ) ?;
7070 let mut stmt = conn. prepare (
71- "SELECT event_data FROM send_session_events WHERE session_id = ?1 ORDER BY created_at ASC" ,
71+ "SELECT event_data FROM send_session_events WHERE session_id = ?1 ORDER BY id ASC" ,
7272 ) ?;
7373
7474 let event_rows = stmt. query_map ( params ! [ * self . session_id] , |row| {
@@ -149,7 +149,7 @@ impl SessionPersister for ReceiverPersister {
149149 > {
150150 let conn = self . db . get_connection ( ) ?;
151151 let mut stmt = conn. prepare (
152- "SELECT event_data FROM receive_session_events WHERE session_id = ?1 ORDER BY created_at ASC" ,
152+ "SELECT event_data FROM receive_session_events WHERE session_id = ?1 ORDER BY id ASC" ,
153153 ) ?;
154154
155155 let event_rows = stmt. query_map ( params ! [ * self . session_id] , |row| {
You can’t perform that action at this time.
0 commit comments