mirror of
https://github.com/overte-org/overte.git
synced 2025-04-13 19:46:40 +02:00
Don't set permissions / is authenticated when DomainServerList checkin
should be ignored.
This commit is contained in:
parent
4f1eeecc2f
commit
9c39d06416
1 changed files with 3 additions and 2 deletions
|
@ -641,11 +641,9 @@ void NodeList::processDomainServerList(QSharedPointer<ReceivedMessage> message)
|
|||
// pull the permissions/right/privileges for this node out of the stream
|
||||
NodePermissions newPermissions;
|
||||
packetStream >> newPermissions;
|
||||
setPermissions(newPermissions);
|
||||
// Is packet authentication enabled?
|
||||
bool isAuthenticated;
|
||||
packetStream >> isAuthenticated;
|
||||
setAuthenticatePackets(isAuthenticated);
|
||||
|
||||
quint64 connectRequestTimestamp;
|
||||
quint64 now = usecTimestampNow();
|
||||
|
@ -689,6 +687,9 @@ void NodeList::processDomainServerList(QSharedPointer<ReceivedMessage> message)
|
|||
return;
|
||||
}
|
||||
|
||||
setPermissions(newPermissions);
|
||||
setAuthenticatePackets(isAuthenticated);
|
||||
|
||||
// when connected, if the session ID or local ID were not null and changed, we should reset
|
||||
auto currentLocalID = getSessionLocalID();
|
||||
auto currentSessionID = getSessionUUID();
|
||||
|
|
Loading…
Reference in a new issue