completely remove eula fallback

This commit is contained in:
Timo
2025-03-28 12:17:10 +01:00
parent 7b4b38af51
commit 730a6bf204
6 changed files with 5 additions and 14 deletions

View File

@@ -11,5 +11,5 @@
"features": {
"feature_use_device_session_member_events": true
},
"eula": "https://static.element.io/legal/online-EULA.pdf"
"ssla": "https://static.element.io/legal/element-software-and-services-license-agreement-uk-1.pdf"
}

View File

@@ -11,5 +11,5 @@
"features": {
"feature_use_device_session_member_events": true
},
"eula": "https://static.element.io/legal/online-EULA.pdf"
"ssla": "https://static.element.io/legal/element-software-and-services-license-agreement-uk-1.pdf"
}

View File

@@ -216,8 +216,7 @@ export const RegisterPage: FC = () => {
apply.
<br />
By clicking "Register", you agree to our{" "}
{/* if the deprecated eula field is setup we still show it. */}
<ExternalLink href={Config.get().eula ?? Config.get().ssla}>
<ExternalLink href={Config.get().ssla}>
Software and Services License Agreement (SSLA)
</ExternalLink>
</Trans>

View File

@@ -76,12 +76,6 @@ export interface ConfigOptions {
feature_use_device_session_member_events?: boolean;
};
/**
* A link to the software and services license agreement (SSLA)
* @deprecated renamed to ssla
*/
eula?: string;
/**
* A link to the software and services license agreement (SSLA)
*/

View File

@@ -187,8 +187,7 @@ export const UnauthenticatedView: FC = () => {
<Text size="sm" className={styles.notice}>
<Trans i18nKey="unauthenticated_view_ssla_caption">
By clicking "Go", you agree to our{" "}
{/* if the deprecated eula field is setup we still show it. */}
<ExternalLink href={Config.get().eula ?? Config.get().ssla}>
<ExternalLink href={Config.get().ssla}>
Software and Services License Agreement (SSLA)
</ExternalLink>
</Trans>

View File

@@ -82,8 +82,7 @@ export const RoomAuthView: FC = () => {
<Text size="sm">
<Trans i18nKey="room_auth_view_ssla_caption">
By clicking "Join call now", you agree to our{" "}
{/* if the deprecated eula field is setup we still show it. */}
<ExternalLink href={Config.get().eula ?? Config.get().ssla}>
<ExternalLink href={Config.get().ssla}>
Software and Services License Agreement (SSLA)
</ExternalLink>
</Trans>