Call setUserJID
when we get JID from credentials_url
This commit is contained in:
parent
789b47ddb3
commit
690052e1c2
@ -605,6 +605,7 @@ function fetchLoginCredentials (wait=0) {
|
||||
xhr.onload = () => {
|
||||
if (xhr.status >= 200 && xhr.status < 400) {
|
||||
const data = JSON.parse(xhr.responseText);
|
||||
setUserJID(data.jid);
|
||||
resolve({
|
||||
jid: data.jid,
|
||||
password: data.password
|
||||
|
Loading…
Reference in New Issue
Block a user