mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-21 22:15:00 -05:00
Oops, actually specify the user id
This commit is contained in:
parent
60f44c098d
commit
8f99cd5996
@ -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 New Issue
Block a user