mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 22:43:10 -06:00
Merge pull request #69 from globekeeper/DEV-511/visibility-event-type
👔 Distinguish multiroom data from visibility
This commit is contained in:
commit
6930f7ae3c
|
|
@ -20,7 +20,7 @@ var schema string
|
|||
var selectMultiRoomCastSQL = `SELECT d.user_id, d.type, d.data, d.ts FROM syncapi_multiroom_data AS d
|
||||
JOIN syncapi_multiroom_visibility AS v
|
||||
ON d.user_id = v.user_id
|
||||
AND d.type = v.type
|
||||
AND concat(d.type, '.visibility') = v.type
|
||||
WHERE v.room_id = ANY($1)
|
||||
AND id > $2
|
||||
AND id <= $3`
|
||||
|
|
|
|||
Loading…
Reference in a new issue