Don't set permissions / is authenticated when DomainServerList checkin

should be ignored.
This commit is contained in:
Roxanne Skelly 2019-05-23 11:42:51 -07:00
parent 4f1eeecc2f
commit 9c39d06416

View file

@ -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();