Remove community_id config option

This commit is contained in:
Tulir Asokan
2022-02-06 17:38:15 +02:00
parent b27519fd88
commit 4013f822de
3 changed files with 0 additions and 15 deletions
-2
View File
@@ -95,8 +95,6 @@ class Config(BaseBridgeConfig):
if "pool_pre_ping" in base["appservice.database_opts"]:
del base["appservice.database_opts.pool_pre_ping"]
copy("appservice.community_id")
copy("metrics.enabled")
copy("metrics.listen_port")
-6
View File
@@ -78,12 +78,6 @@ appservice:
bot_displayname: Telegram bridge bot
bot_avatar: mxc://maunium.net/tJCRmUyJDsgRNgqhOgoiHWbX
# Community ID for bridged users (changes registration file) and rooms.
# Must be created manually.
#
# Example: "+telegram:example.com". Set to false to disable.
community_id: false
# Whether or not to receive ephemeral events via appservice transactions.
# Requires MSC2409 support (i.e. Synapse 1.22+).
# You should disable bridge -> sync_with_custom_puppets when this is enabled.
-7
View File
@@ -838,13 +838,6 @@ class Portal(DBPortal, BasePortal):
self.title = puppet.displayname
self.avatar_url = puppet.avatar_url
self.photo_id = puppet.photo_id
if self.config["appservice.community_id"]:
initial_state.append(
{
"type": "m.room.related_groups",
"content": {"groups": [self.config["appservice.community_id"]]},
}
)
creation_content = {}
if not self.config["bridge.federate_rooms"]:
creation_content["m.federate"] = False