You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Typo
This commit is contained in:
@@ -93,7 +93,7 @@ class MatrixClientPeg {
|
|||||||
getHomeServerName() {
|
getHomeServerName() {
|
||||||
const matches = /^@.+:(.+)$/.exec(this.matrixClient.credentials.userId);
|
const matches = /^@.+:(.+)$/.exec(this.matrixClient.credentials.userId);
|
||||||
if (matches === null || matches.length < 1) {
|
if (matches === null || matches.length < 1) {
|
||||||
throw new Error("Failed to derive home server name fro user ID!");
|
throw new Error("Failed to derive home server name from user ID!");
|
||||||
}
|
}
|
||||||
return matches[1];
|
return matches[1];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user