---
apiVersion: v1
kind: ConfigMap
metadata:
  name: element
data:
  config.json: |
      {
          "default_server_config": {
              "m.homeserver": {
                  "base_url": "https://matrix.haardiek.org",
                  "server_name": "matrix.haardiek.org"
              },
              "m.identity_server": {
                  "base_url": "https://vector.im"
              }
          },
          "disable_custom_urls": false,
          "disable_guests": false,
          "disable_login_language_selector": false,
          "disable_3pid_login": false,
          "brand": "element",
          "integrations_ui_url": "https://scalar.vector.im/",
          "integrations_rest_url": "https://scalar.vector.im/api",
          "integrations_widgets_urls": [
                  "https://scalar.vector.im/_matrix/integrations/v1",
                  "https://scalar.vector.im/api",
                  "https://scalar-staging.vector.im/_matrix/integrations/v1",
                  "https://scalar-staging.vector.im/api",
                  "https://scalar-staging.riot.im/scalar/api"
          ],
          "bug_report_endpoint_url": "https://element.io/bugreports/submit",
          "defaultCountryCode": "GB",
          "showLabsSettings": false,
          "features": { },
          "default_federate": true,
          "default_theme": "light",
          "roomDirectory": {
              "servers": [
                      "matrix.org"
              ]
          },
          "piwik": {
              "url": "https://piwik.riot.im/",
              "whitelistedHSUrls": ["https://matrix.org"],
              "whitelistedISUrls": ["https://vector.im", "https://matrix.org"],
              "siteId": 1
          },
          "enable_presence_by_hs_url": {
              "https://matrix.org": false,
              "https://matrix-client.matrix.org": false
          },
          "settingDefaults": {
              "breadcrumbs": true
          },
          "jitsi": {
              "preferredDomain": "jitsi.riot.im"
          }
      }
