mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Disable groups/communities by default. (#12344)
This disables the endpoints (and sync response fields) for groups/communities by default.
This commit is contained in:
parent
320186319a
commit
9535fd0f9c
1
changelog.d/12344.removal
Normal file
1
changelog.d/12344.removal
Normal file
@ -0,0 +1 @@
|
|||||||
|
The groups/communities feature in Synapse has been disabled by default.
|
@ -85,6 +85,13 @@ process, for example:
|
|||||||
dpkg -i matrix-synapse-py3_1.3.0+stretch1_amd64.deb
|
dpkg -i matrix-synapse-py3_1.3.0+stretch1_amd64.deb
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Upgrading to v1.58.0
|
||||||
|
|
||||||
|
## Groups/communities feature has been disabled by default
|
||||||
|
|
||||||
|
The non-standard groups/communities feature in Synapse has been disabled by default
|
||||||
|
and will be removed in Synapse v1.61.0.
|
||||||
|
|
||||||
# Upgrading to v1.57.0
|
# Upgrading to v1.57.0
|
||||||
|
|
||||||
## Changes to database schema for application services
|
## Changes to database schema for application services
|
||||||
|
@ -74,7 +74,7 @@ class ExperimentalConfig(Config):
|
|||||||
self.msc3720_enabled: bool = experimental.get("msc3720_enabled", False)
|
self.msc3720_enabled: bool = experimental.get("msc3720_enabled", False)
|
||||||
|
|
||||||
# The deprecated groups feature.
|
# The deprecated groups feature.
|
||||||
self.groups_enabled: bool = experimental.get("groups_enabled", True)
|
self.groups_enabled: bool = experimental.get("groups_enabled", False)
|
||||||
|
|
||||||
# MSC2654: Unread counts
|
# MSC2654: Unread counts
|
||||||
self.msc2654_enabled: bool = experimental.get("msc2654_enabled", False)
|
self.msc2654_enabled: bool = experimental.get("msc2654_enabled", False)
|
||||||
|
@ -63,6 +63,7 @@ class DeleteGroupTestCase(unittest.HomeserverTestCase):
|
|||||||
self.other_user = self.register_user("user", "pass")
|
self.other_user = self.register_user("user", "pass")
|
||||||
self.other_user_token = self.login("user", "pass")
|
self.other_user_token = self.login("user", "pass")
|
||||||
|
|
||||||
|
@unittest.override_config({"experimental_features": {"groups_enabled": True}})
|
||||||
def test_delete_group(self) -> None:
|
def test_delete_group(self) -> None:
|
||||||
# Create a new group
|
# Create a new group
|
||||||
channel = self.make_request(
|
channel = self.make_request(
|
||||||
|
Loading…
Reference in New Issue
Block a user