mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-16 14:19:12 -04:00
Use 'in' to test if the key exists, remove unused _filters_for_user
This commit is contained in:
parent
c562f237f6
commit
e97f756a05
2 changed files with 2 additions and 10 deletions
|
@ -20,10 +20,6 @@ from ._base import SQLBaseStore
|
|||
import json
|
||||
|
||||
|
||||
# TODO(paul)
|
||||
_filters_for_user = {}
|
||||
|
||||
|
||||
class FilteringStore(SQLBaseStore):
|
||||
@defer.inlineCallbacks
|
||||
def get_user_filter(self, user_localpart, filter_id):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue