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": { "features": {
"feature_use_device_session_member_events": true "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": { "features": {
"feature_use_device_session_member_events": true "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. apply.
<br /> <br />
By clicking "Register", you agree to our{" "} By clicking "Register", you agree to our{" "}
{/* if the deprecated eula field is setup we still show it. */} <ExternalLink href={Config.get().ssla}>
<ExternalLink href={Config.get().eula ?? Config.get().ssla}>
Software and Services License Agreement (SSLA) Software and Services License Agreement (SSLA)
</ExternalLink> </ExternalLink>
</Trans> </Trans>

View File

@@ -76,12 +76,6 @@ export interface ConfigOptions {
feature_use_device_session_member_events?: boolean; 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) * 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}> <Text size="sm" className={styles.notice}>
<Trans i18nKey="unauthenticated_view_ssla_caption"> <Trans i18nKey="unauthenticated_view_ssla_caption">
By clicking "Go", you agree to our{" "} By clicking "Go", you agree to our{" "}
{/* if the deprecated eula field is setup we still show it. */} <ExternalLink href={Config.get().ssla}>
<ExternalLink href={Config.get().eula ?? Config.get().ssla}>
Software and Services License Agreement (SSLA) Software and Services License Agreement (SSLA)
</ExternalLink> </ExternalLink>
</Trans> </Trans>

View File

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