mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-02-15 15:34:28 -06:00
oo there is a extra and
This commit is contained in:
parent
8e9dd3f1f8
commit
a6f5918715
|
@ -68,7 +68,7 @@ const selectThreadsSQL = "" +
|
|||
" JOIN syncapi_output_room_events ON syncapi_output_room_events.event_id = syncapi_relations.event_id" +
|
||||
" WHERE syncapi_relations.room_id = $1" +
|
||||
" AND syncapi_relations.rel_type = 'm.thread'" +
|
||||
" AND syncapi_relations.id >= $2 AND" +
|
||||
" AND syncapi_relations.id >= $2" +
|
||||
" ORDER BY syncapi_relations.id LIMIT $3"
|
||||
|
||||
const selectThreadsWithSenderSQL = "" +
|
||||
|
|
|
@ -69,7 +69,7 @@ const selectThreadsSQL = "" +
|
|||
" JOIN syncapi_output_room_events ON syncapi_output_room_events.event_id = syncapi_relations.event_id" +
|
||||
" WHERE syncapi_relations.room_id = $1" +
|
||||
" AND syncapi_relations.rel_type = 'm.thread'" +
|
||||
" AND syncapi_relations.id >= $2 AND" +
|
||||
" AND syncapi_relations.id >= $2" +
|
||||
" ORDER BY syncapi_relations.id LIMIT $3"
|
||||
|
||||
const selectThreadsWithSenderSQL = "" +
|
||||
|
|
Loading…
Reference in a new issue