uncommitted changes on matrix.org

These might be important? who knows?
This commit is contained in:
Richard van der Hoff 2016-12-20 11:49:25 +00:00 committed by Matrix
parent bae1115e55
commit f5abaafabd
4 changed files with 10 additions and 10 deletions

View file

@ -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))