mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-07-25 01:35:17 -04:00
Only include the archived rooms if a include_leave flag in set in the filter
This commit is contained in:
parent
3c85a317d6
commit
660dee94af
2 changed files with 10 additions and 6 deletions
|
@ -143,6 +143,10 @@ class FilterCollection(object):
|
|||
self.filter_json.get("account_data", {})
|
||||
)
|
||||
|
||||
self.include_leave = self.filter_json.get("room", {}).get(
|
||||
"include_leave", False
|
||||
)
|
||||
|
||||
def timeline_limit(self):
|
||||
return self.room_timeline_filter.limit()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue