Replaced direct calls to App->user

This commit is contained in:
Michael 2021-08-08 11:17:08 +00:00
parent 2d4ecd5ccf
commit e823a1bd05
10 changed files with 12 additions and 12 deletions

View file

@ -153,7 +153,7 @@ function xmpp_converse(App $a)
DI::pConfig()->set(local_user(), "xmpp", "password", $password);
}
$jid = $a->user["nickname"] . "@" . DI::baseUrl()->getHostname() . "/converse-" . Strings::getRandomHex(5);
$jid = $a->getNickname() . "@" . DI::baseUrl()->getHostname() . "/converse-" . Strings::getRandomHex(5);
$auto_login = "auto_login: true,
authentication: 'login',