Skip to content
Snippets Groups Projects
Commit 71a14319 authored by Erik Johnston's avatar Erik Johnston
Browse files

Fix max state group option

parent 8b0e9bfd
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ fn get_initial_data_from_db(
WHERE m.room_id = $1 {}
"#,
if max_state_group.is_some() {
"AND state_group <= $2"
"AND m.id <= $2"
} else {
""
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment