File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1414 {% elif scope == "urn:mas:graphql:*" %}
1515 < li > {{ icon.info() }}< p > {{ _("mas.scope.edit_profile") }}</ p > </ li >
1616 < li > {{ icon.computer() }}< p > {{ _("mas.scope.manage_sessions") }}</ p > </ li >
17- {% elif scope == "urn:matrix:org.matrix.msc2967.client:api:*" %}
17+ {% elif scope == "urn:matrix:client:api:*" or scope == "urn:matrix: org.matrix.msc2967.client:api:*" %}
1818 < li > {{ icon.chat() }}< p > {{ _("mas.scope.view_messages") }}</ p > </ li >
1919 < li > {{ icon.send() }}< p > {{ _("mas.scope.send_messages") }}</ p > </ li >
2020 {% elif scope == "urn:synapse:admin:*" %}
2121 < li > {{ icon.error_solid() }}< p > {{ _("mas.scope.synapse_admin") }}</ p > </ li >
2222 {% elif scope == "urn:mas:admin" %}
2323 < li > {{ icon.error_solid() }}< p > {{ _("mas.scope.mas_admin") }}</ p > </ li >
24- {% elif scope is startingwith("urn:matrix:org.matrix.msc2967.client:device:") %}
24+ {% elif scope is startingwith("urn:matrix:client:device:") or scope is startingwith("urn:matrix: org.matrix.msc2967.client:device:") %}
2525 {# We hide this scope #}
2626 {% else %}
2727 < li > {{ icon.info() }}< p > {{ scope }}</ p > </ li >
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ <h1 class="title">Allow access to your account?</h1>
2323 </ header >
2424
2525 < section class ="consent-scope-list ">
26- {{ scope.list(scopes="openid urn:matrix:org.matrix.msc2967. client:api:*") }}
26+ {{ scope.list(scopes="openid urn:matrix:client:api:*") }}
2727 </ section >
2828
2929 < section class ="text-center cpd-text-secondary cpd-text-body-md-regular ">
You can’t perform that action at this time.
0 commit comments