mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-10-07 09:18:26 -04:00
Remove remaining bits of groups code. (#12936)
* Update worker docs to remove group endpoints. * Removes an unused parameter to `ApplicationService`. * Break dependency between media repo and groups. * Avoid copying `m.room.related_groups` state events during room upgrades.
This commit is contained in:
parent
88193f2125
commit
7bc08f3201
19 changed files with 1 additions and 35 deletions
|
@ -548,7 +548,6 @@ class WhoamiTestCase(unittest.HomeserverTestCase):
|
|||
|
||||
appservice = ApplicationService(
|
||||
as_token,
|
||||
self.hs.config.server.server_name,
|
||||
id="1234",
|
||||
namespaces={"users": [{"regex": user_id, "exclusive": True}]},
|
||||
sender=user_id,
|
||||
|
|
|
@ -1112,7 +1112,6 @@ class AppserviceLoginRestServletTestCase(unittest.HomeserverTestCase):
|
|||
self.service = ApplicationService(
|
||||
id="unique_identifier",
|
||||
token="some_token",
|
||||
hostname="example.com",
|
||||
sender="@asbot:example.com",
|
||||
namespaces={
|
||||
ApplicationService.NS_USERS: [
|
||||
|
@ -1125,7 +1124,6 @@ class AppserviceLoginRestServletTestCase(unittest.HomeserverTestCase):
|
|||
self.another_service = ApplicationService(
|
||||
id="another__identifier",
|
||||
token="another_token",
|
||||
hostname="example.com",
|
||||
sender="@as2bot:example.com",
|
||||
namespaces={
|
||||
ApplicationService.NS_USERS: [
|
||||
|
|
|
@ -56,7 +56,6 @@ class RegisterRestServletTestCase(unittest.HomeserverTestCase):
|
|||
|
||||
appservice = ApplicationService(
|
||||
as_token,
|
||||
self.hs.config.server.server_name,
|
||||
id="1234",
|
||||
namespaces={"users": [{"regex": r"@as_user.*", "exclusive": True}]},
|
||||
sender="@as:test",
|
||||
|
@ -80,7 +79,6 @@ class RegisterRestServletTestCase(unittest.HomeserverTestCase):
|
|||
|
||||
appservice = ApplicationService(
|
||||
as_token,
|
||||
self.hs.config.server.server_name,
|
||||
id="1234",
|
||||
namespaces={"users": [{"regex": r"@as_user.*", "exclusive": True}]},
|
||||
sender="@as:test",
|
||||
|
|
|
@ -71,7 +71,6 @@ class RoomBatchTestCase(unittest.HomeserverTestCase):
|
|||
|
||||
self.appservice = ApplicationService(
|
||||
token="i_am_an_app_service",
|
||||
hostname="test",
|
||||
id="1234",
|
||||
namespaces={"users": [{"regex": r"@as_user.*", "exclusive": True}]},
|
||||
# Note: this user does not have to match the regex above
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue