mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 08:23:17 +02:00
make sure settings are re-requested on new connection
This commit is contained in:
parent
1263db5688
commit
cb4ce4fedb
1 changed files with 6 additions and 0 deletions
|
@ -656,7 +656,13 @@ void NodeList::processDomainServerList(QSharedPointer<ReceivedMessage> message)
|
|||
((currentLocalID != Node::NULL_LOCAL_ID && newLocalID != currentLocalID) ||
|
||||
(!currentSessionID.isNull() && newUUID != currentSessionID))) {
|
||||
qCDebug(networking) << "Local ID or Session ID changed while connected to domain - forcing NodeList reset";
|
||||
|
||||
// reset the nodelist, but don't do a domain handler reset since we're about to process a good domain list
|
||||
reset(true);
|
||||
|
||||
// tell the domain handler that we're no longer connected so that below
|
||||
// it can re-perform actions as if we just connected
|
||||
_domainHandler.setIsConnected(false);
|
||||
}
|
||||
|
||||
setSessionLocalID(newLocalID);
|
||||
|
|
Loading…
Reference in a new issue