mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-26 04:05:38 +00: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)"
|
"SELECT ep.room_id, MAX(e.received_ts)"
|
||||||
" FROM event_push_actions AS ep"
|
" FROM event_push_actions AS ep"
|
||||||
" JOIN events e ON ep.room_id = e.room_id AND ep.event_id = e.event_id"
|
" 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()
|
return txn.fetchall()
|
||||||
result = yield self.runInteraction(
|
result = yield self.runInteraction(
|
||||||
|
Loading…
Reference in New Issue
Block a user