Include anonymously connected user metadata

This commit is contained in:
Zach Pomerantz 2016-06-03 11:11:06 -07:00
parent 55e5c1f6e0
commit 209ace1b86

View file

@ -85,7 +85,9 @@ void DomainMetadata::usersChanged() {
if (!nodeData->wasAssigned()) {
++numConnected;
// TODO: numConnectedAnonymously
if (nodeData->getUsername().isEmpty()) {
++numConnectedAnonymously;
}
// increment the count for this hostname (or the default if we don't have one)
auto placeName = nodeData->getPlaceName();