Typo
This commit is contained in:
parent
c7ad9bfdad
commit
4942f4f35c
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue