Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
babolivier committed Dec 6, 2021
1 parent bbf27eb commit 954a13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/databases/main/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ async def get_retention_policy_for_room(self, room_id):
# 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):
Expand Down

0 comments on commit 954a13b

Please sign in to comment.