mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
Merge branch 'mergeAccountGlobalServices' of https://github.com/dback2/hifi into mergeAccountGlobalServices
This commit is contained in:
commit
ab5b238aea
1 changed files with 1 additions and 2 deletions
|
@ -52,8 +52,7 @@ const QString GlobalServicesScriptingInterface::getUsername() const {
|
|||
auto accountManager = DependencyManager::get<AccountManager>();
|
||||
if (accountManager->isLoggedIn()) {
|
||||
return accountManager->getAccountInfo().getUsername();
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
return "Unknown user";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue