mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-17 18:30:25 -04:00
uncommitted changes on matrix.org
These might be important? who knows?
This commit is contained in:
parent
bae1115e55
commit
f5abaafabd
4 changed files with 10 additions and 10 deletions
|
@ -101,11 +101,11 @@ class EventPushActionsStore(SQLBaseStore):
|
|||
# notif=1
|
||||
sql = (
|
||||
"SELECT count(*)"
|
||||
" FROM event_push_actions ea"
|
||||
" FROM (SELECT * FROM event_push_actions"
|
||||
" WHERE"
|
||||
" user_id = ?"
|
||||
" AND room_id = ?"
|
||||
" AND %s"
|
||||
" AND %s LIMIT 100) as ea"
|
||||
) % (lower_bound(token, self.database_engine, inclusive=False),)
|
||||
|
||||
txn.execute(sql, (user_id, room_id))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue