diff --git a/currentstateserver/storage/postgres/current_room_state_table.go b/currentstateserver/storage/postgres/current_room_state_table.go index c94ab3449..ed2728f41 100644 --- a/currentstateserver/storage/postgres/current_room_state_table.go +++ b/currentstateserver/storage/postgres/current_room_state_table.go @@ -83,7 +83,7 @@ const selectJoinedUsersSetForRoomsSQL = "" + " type = 'm.room.member' and content_value = 'join' GROUP BY state_key" const selectKnownRoomsSQL = "" + - "SELECT DISTINCT room_id FROM currentsate_current_room_state" + "SELECT DISTINCT room_id FROM currentstate_current_room_state" // selectKnownUsersSQL uses a sub-select statement here to find rooms that the user is // joined to. Since this information is used to populate the user directory, we will diff --git a/currentstateserver/storage/sqlite3/current_room_state_table.go b/currentstateserver/storage/sqlite3/current_room_state_table.go index 8215c6e39..7abb62a5b 100644 --- a/currentstateserver/storage/sqlite3/current_room_state_table.go +++ b/currentstateserver/storage/sqlite3/current_room_state_table.go @@ -71,7 +71,7 @@ const selectJoinedUsersSetForRoomsSQL = "" + "SELECT state_key, COUNT(room_id) FROM currentstate_current_room_state WHERE room_id IN ($1) AND type = 'm.room.member' and content_value = 'join' GROUP BY state_key" const selectKnownRoomsSQL = "" + - "SELECT DISTINCT room_id FROM currentsate_current_room_state" + "SELECT DISTINCT room_id FROM currentstate_current_room_state" // selectKnownUsersSQL uses a sub-select statement here to find rooms that the user is // joined to. Since this information is used to populate the user directory, we will