fixup: MissingRTCFocus error, fix confusion between domain/brand

This commit is contained in:
Valere
2025-02-27 10:09:26 +01:00
parent b43defedfd
commit 4701e413fd
2 changed files with 3 additions and 2 deletions

View File

@@ -53,7 +53,8 @@ export class MatrixRTCFocusMissingError extends ElementCallError {
ErrorCode.MISSING_MATRIX_RTC_FOCUS,
ErrorCategory.CONFIGURATION_ISSUE,
t("error.matrix_rtc_focus_missing", {
brand: domain,
domain,
brand: import.meta.env.VITE_PRODUCT_NAME || "Element Call",
errorCode: ErrorCode.MISSING_MATRIX_RTC_FOCUS,
}),
);