cleanup debug in updateReplicatedNodes

This commit is contained in:
Stephen Birarda 2017-06-14 15:07:48 -07:00
parent 54832d995d
commit e818a511b9

View file

@ -2239,11 +2239,12 @@ void DomainServer::updateReplicatedNodes() {
}, [this](const SharedNodePointer& otherNode) {
auto shouldReplicate = shouldReplicateNode(*otherNode);
auto isReplicated = otherNode->isReplicated();
qDebug() << "Checking " << otherNode->getPermissions().getVerifiedUserName();
if (isReplicated && !shouldReplicate) {
qDebug() << "Setting node to NOT be replicated: " << otherNode->getUUID();
qDebug() << "Setting node to NOT be replicated:"
<< otherNode->getPermissions().getVerifiedUserName() << otherNode->getUUID();
} else if (!isReplicated && shouldReplicate) {
qDebug() << "Setting node to replicated: " << otherNode->getUUID();
qDebug() << "Setting node to replicated:"
<< otherNode->getPermissions().getVerifiedUserName() << otherNode->getUUID();
}
otherNode->setIsReplicated(shouldReplicate);
}