mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 19:43:50 +01:00
Oops, actually specify the user id
This commit is contained in:
parent
60f44c098d
commit
8f99cd5996
1 changed files with 3 additions and 1 deletions
|
@ -223,7 +223,9 @@ class EventPushActionsStore(SQLBaseStore):
|
|||
"SELECT ep.room_id, MAX(e.received_ts)"
|
||||
" FROM event_push_actions AS ep"
|
||||
" JOIN events e ON ep.room_id = e.room_id AND ep.event_id = e.event_id"
|
||||
" GROUP BY ep.room_id"
|
||||
" WHERE ep.user_id = ?"
|
||||
" GROUP BY ep.room_id",
|
||||
(user_id,)
|
||||
)
|
||||
return txn.fetchall()
|
||||
result = yield self.runInteraction(
|
||||
|
|
Loading…
Reference in a new issue