Skip to content

MSC3266-element-call #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/synapse/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
name: synapse
version: 0.6.0
version: 0.7.0
13 changes: 12 additions & 1 deletion charts/synapse/templates/synapse-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,20 @@ data:
search_all_users: {{ $.Values.synapse.search_all_users }}
prefer_local_users: true
web_client_location: "https://{{ $.Values.synapse.serverName }}/"
{{- if $.Values.matrixAuthentication.enabled }}
{{- if $.Values.synapse.max_event_delay_duration }}
# The maximum allowed duration by which sent events can be delayed, as per MSC4140.
max_event_delay_duration: {{ $.Values.synapse.max_event_delay_duration }}
{{- end }}
{{- if or $.Values.matrixAuthentication.enabled $.Values.experimentalFeatures.msc3266.enabled }}
# https://matrix-org.github.io/matrix-authentication-service/setup/homeserver.html#configure-the-homeserver-to-delegate-authentication-to-the-service
experimental_features:
{{- if $.Values.experimentalFeatures.msc3266.enabled }}
# MSC3266: Room summary API. Used for knocking over federation
# MSC3266 allows to request a room summary of rooms you are not joined. The summary contains the room join rules.
# We need that to decide if the user gets prompted with the option to knock ("Request to join call"), a cannot join error or the join view.
msc3266:
enabled: {{ $.Values.experimentalFeatures.msc3266.enabled }}
{{- end }}
{{- if $.Values.experimentalFeatures.msc3861.enabled }}
msc3861: {{ $.Values.experimentalFeatures.msc3861 | toYaml | nindent 8 }}
{{- end }}
Expand Down
8 changes: 8 additions & 0 deletions charts/synapse/templates/well-known-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ data:
"base_url":"https://vector.im"
},
{{- end }}
{{- if .Values.experimentalFeatures.msc3266.enabled }}
"org.matrix.msc4143.rtc_foci": [
{
"type": "livekit",
"livekit_service_url": "https://{{ .Values.livekitServer.ingress.host }}"
}
],
{{- end }}
"jitsi": {
"preferredDomain": "meet.jit.si"
},
Expand Down
13 changes: 13 additions & 0 deletions charts/synapse/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ synapse:
allow_device_name_lookup_over_federation: false
search_all_users: false
allow_public_rooms_over_federation: false
# The maximum allowed duration by which sent events can be delayed, as per MSC4140.
max_event_delay_duration: '' # 24h
# cfg --
image:
repository: "ghcr.io/code-tool/matrix-stack/synapse"
Expand Down Expand Up @@ -143,6 +145,11 @@ synapse:
rc_message:
per_second: 100
burst_count: 300
# recommended for MSC3266
# This needs to match at least the heart-beat frequency plus a bit of headroom
# Currently the heart-beat is every 5 seconds which translates into a rate of 0.2s
# per_second: 0.5
# burst_count: 30

federation_domain_whitelist: []

Expand Down Expand Up @@ -177,6 +184,8 @@ experimentalFeatures:
client_secret: NOT-CONFIGURED
admin_token: NOT-CONFIGURED
account_management_url: NOT-CONFIGURED
msc3266:
enabled: false

ingress:
secretName: ''
Expand Down Expand Up @@ -543,3 +552,7 @@ wellKnown:

resourceQuota:
enabled: true

livekitServer:
ingress:
host: ''