Hook up auto-registration as a guest to MatrixChat.
This commit is contained in:
parent
d52b3149d4
commit
d0ec84fe59
2 changed files with 50 additions and 4 deletions
|
@ -117,7 +117,7 @@ class MatrixClient {
|
|||
console.warn("Error using local storage");
|
||||
}
|
||||
}
|
||||
this.guestAccess.markAsGuest(isGuest);
|
||||
this.guestAccess.markAsGuest(Boolean(isGuest));
|
||||
createClient(hs_url, is_url, user_id, access_token, this.guestAccess);
|
||||
if (localStorage) {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue