mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-21 08:38:48 -04:00
Fix test
This commit is contained in:
parent
8fe8951a8d
commit
35981c8b71
2 changed files with 9 additions and 3 deletions
|
@ -15,6 +15,8 @@
|
|||
from synapse.api.errors import SynapseError
|
||||
from synapse.types import UserID, RoomID
|
||||
|
||||
import ujson as json
|
||||
|
||||
|
||||
class Filtering(object):
|
||||
|
||||
|
@ -149,6 +151,9 @@ class FilterCollection(object):
|
|||
"include_leave", False
|
||||
)
|
||||
|
||||
def __repr__(self):
|
||||
return "<FilterCollection %s>" % (json.dumps(self._filter_json),)
|
||||
|
||||
def get_filter_json(self):
|
||||
return self._filter_json
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue