mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-24 07:13:09 -06:00
Actually update the id, so it is correctly send in syncs
This commit is contained in:
parent
02a11d5a8f
commit
d4a01d5595
|
|
@ -49,7 +49,7 @@ const upsertReceipt = "" +
|
|||
" (room_id, receipt_type, user_id, event_id, receipt_ts)" +
|
||||
" VALUES ($1, $2, $3, $4, $5)" +
|
||||
" ON CONFLICT (room_id, receipt_type, user_id)" +
|
||||
" DO UPDATE SET event_id = $4, receipt_ts = $5" +
|
||||
" DO UPDATE SET id = nextval('syncapi_stream_id'), event_id = $4, receipt_ts = $5" +
|
||||
" RETURNING id"
|
||||
|
||||
const selectRoomReceipts = "" +
|
||||
|
|
|
|||
Loading…
Reference in a new issue