diff --git a/extensions/matrix/src/env-vars.ts b/extensions/matrix/src/env-vars.ts index a78e5bd4f0f..ac16c416ffc 100644 --- a/extensions/matrix/src/env-vars.ts +++ b/extensions/matrix/src/env-vars.ts @@ -1,5 +1,4 @@ import { normalizeAccountId, normalizeOptionalAccountId } from "openclaw/plugin-sdk/account-id"; -import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/text-runtime"; const MATRIX_SCOPED_ENV_SUFFIXES = [ "HOMESERVER", @@ -61,7 +60,7 @@ function decodeMatrixEnvAccountToken(token: string): string | undefined { if (!char || !/[A-Z0-9]/.test(char)) { return undefined; } - decoded += normalizeLowercaseStringOrEmpty(char); + decoded += char.toLowerCase(); index += 1; } const normalized = normalizeOptionalAccountId(decoded);