1
0
This commit is contained in:
Brendan Abolivier
2021-12-06 16:39:36 +00:00
parent bbf27eb045
commit 954a13b3ed

View File

@@ -686,7 +686,7 @@ class RoomWorkerStore(SQLBaseStore):
# If the room retention feature is disabled, return a policy with no minimum nor
# maximum, in order not to filter out events we should filter out when sending to
# the client.
if not self.config.server.retention_enabled:
if not self.config.retention.retention_enabled:
return {"min_lifetime": None, "max_lifetime": None}
def get_retention_policy_for_room_txn(txn):