summary refs log tree commit diff
path: root/synapse/config/voip.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/config/voip.py')
-rw-r--r--synapse/config/voip.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/synapse/config/voip.py b/synapse/config/voip.py
index 87c09abe24..43f0a0fa17 100644
--- a/synapse/config/voip.py
+++ b/synapse/config/voip.py
@@ -31,34 +31,3 @@ class VoipConfig(Config):
             config.get("turn_user_lifetime", "1h")
         )
         self.turn_allow_guests = config.get("turn_allow_guests", True)
-
-    def generate_config_section(self, **kwargs: Any) -> str:
-        return """\
-        ## TURN ##
-
-        # The public URIs of the TURN server to give to clients
-        #
-        #turn_uris: []
-
-        # The shared secret used to compute passwords for the TURN server
-        #
-        #turn_shared_secret: "YOUR_SHARED_SECRET"
-
-        # The Username and password if the TURN server needs them and
-        # does not use a token
-        #
-        #turn_username: "TURNSERVER_USERNAME"
-        #turn_password: "TURNSERVER_PASSWORD"
-
-        # How long generated TURN credentials last
-        #
-        #turn_user_lifetime: 1h
-
-        # Whether guests should be allowed to use the TURN server.
-        # This defaults to True, otherwise VoIP will be unreliable for guests.
-        # However, it does introduce a slight security risk as it allows users to
-        # connect to arbitrary endpoints without having first signed up for a
-        # valid account (e.g. by passing a CAPTCHA).
-        #
-        #turn_allow_guests: true
-        """