File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export default class MatrixSession {
27
27
28
28
this . logger . info ( 'Reusing existing session: authentication information found in local storage, for user: ' + userId )
29
29
this . client = sdk . createClient ( {
30
- baseUrl : this . matrixServer || 'https://matrix.org' ,
30
+ baseUrl : this . matrixServer || 'https://matrix-client.matrix .org' ,
31
31
accessToken,
32
32
userId,
33
33
deviceId,
@@ -42,7 +42,7 @@ export default class MatrixSession {
42
42
login ( cb ) {
43
43
const that = this
44
44
this . client = sdk . createClient ( {
45
- baseUrl : this . matrixServer || 'https://matrix.org'
45
+ baseUrl : this . matrixServer || 'https://matrix-client.matrix .org'
46
46
} )
47
47
this . client . loginRequest ( {
48
48
user : this . matrixUser || this . botName ,
@@ -51,7 +51,7 @@ export default class MatrixSession {
51
51
} ) . then ( ( data ) => {
52
52
that . logger . debug ( `Logged in ${ data . user_id } on device ${ data . device_id } ` )
53
53
that . client = sdk . createClient ( {
54
- baseUrl : that . matrixServer || 'https://matrix.org' ,
54
+ baseUrl : that . matrixServer || 'https://matrix-client.matrix .org' ,
55
55
accessToken : data . access_token ,
56
56
userId : data . user_id ,
57
57
deviceId : data . device_id ,
You can’t perform that action at this time.
0 commit comments