merged from gramsrv upstream
This commit is contained in:
parent
79c64ee916
commit
21a0856587
651 changed files with 54774 additions and 4590 deletions
|
|
@ -85,6 +85,9 @@ WHERE owner_user_id = $1
|
|||
if err := lockUsersForUpdate(ctx, tx, lockIDs...); err != nil {
|
||||
return res, fmt.Errorf("lock read message contents users: %w", err)
|
||||
}
|
||||
if err := lockDispatchOutboxAppendFences(ctx, tx, lockIDs); err != nil {
|
||||
return res, fmt.Errorf("lock read message contents dispatch append fences: %w", err)
|
||||
}
|
||||
rows, err := tx.Query(ctx, `
|
||||
WITH target AS (
|
||||
SELECT owner_user_id, box_id, peer_type, peer_id, media_unread, reaction_unread,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue