Skip to content

Commit

Permalink
config: add option to gate MSC2246 async uploads
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <[email protected]>
  • Loading branch information
sumnerevans committed May 30, 2022
1 parent 183fab9 commit 6ed5b8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions synapse/config/experimental.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,6 @@ def read_config(self, config: JsonDict, **kwargs: Any) -> None:

# MSC3772: A push rule for mutual relations.
self.msc3772_enabled: bool = experimental.get("msc3772_enabled", False)

# MSC2246 (async media uploads)
self.msc2246_enabled: bool = experimental.get("msc2246_enabled", False)

0 comments on commit 6ed5b8f

Please sign in to comment.