mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 07:14:11 +02:00
fix username signature not const
This commit is contained in:
parent
fc385d9bc1
commit
60fdc390c5
1 changed files with 2 additions and 4 deletions
|
@ -282,17 +282,15 @@ void NodeList::sendDomainServerCheckIn() {
|
|||
packetStream << accountInfo.getUsername();
|
||||
|
||||
// get connection token from the domain-server
|
||||
const QUuid& connectionToken = _domainHandler.getConnectionToken();
|
||||
QUuid connectionToken = _domainHandler.getConnectionToken();
|
||||
|
||||
if(!connectionToken.isNull()) {
|
||||
|
||||
const QByteArray& usernameSignature = AccountManager::getInstance().getAccountInfo().getUsernameSignature(connectionToken);
|
||||
|
||||
QByteArray usernameSignature = AccountManager::getInstance().getAccountInfo().getUsernameSignature(connectionToken);
|
||||
|
||||
if (!usernameSignature.isEmpty()) {
|
||||
packetStream << usernameSignature;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue