Fix max state group option
This commit is contained in:
@@ -87,7 +87,7 @@ fn get_initial_data_from_db(
|
|||||||
WHERE m.room_id = $1 {}
|
WHERE m.room_id = $1 {}
|
||||||
"#,
|
"#,
|
||||||
if max_state_group.is_some() {
|
if max_state_group.is_some() {
|
||||||
"AND state_group <= $2"
|
"AND m.id <= $2"
|
||||||
} else {
|
} else {
|
||||||
""
|
""
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user