forked from MirrorHub/synapse
Fix query for get_unread_push_actions_for_user_in_range
This commit is contained in:
parent
ceeb5b909f
commit
a2546b9082
1 changed files with 2 additions and 1 deletions
|
@ -133,9 +133,10 @@ class EventPushActionsStore(SQLBaseStore):
|
|||
" ep.topological_ordering > rl.topological_ordering"
|
||||
" OR ("
|
||||
" ep.topological_ordering = rl.topological_ordering"
|
||||
" AND ep.stream_ordering > ?"
|
||||
" AND ep.stream_ordering > rl.stream_ordering"
|
||||
" )"
|
||||
" )"
|
||||
" AND ep.stream_ordering > ?"
|
||||
" AND ep.user_id = ?"
|
||||
" AND ep.user_id = rl.user_id"
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue