mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-21 08:28:46 -04:00
Merge branch 'develop' into matthew/filter_members
This commit is contained in:
commit
28f09fcdd5
59 changed files with 496 additions and 181 deletions
|
@ -417,7 +417,7 @@ class Filter(object):
|
|||
return room_ids
|
||||
|
||||
def filter(self, events):
|
||||
return filter(self.check, events)
|
||||
return list(filter(self.check, events))
|
||||
|
||||
def limit(self):
|
||||
return self.filter_json.get("limit", 10)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue