Closed azanli closed 6 years ago
… to nearbyUsers and emit "detectedUser"
Fixes issue #32
The for loop was returning after the first loop regardless of whether the user was already detected or not. This change will make it return only if the user actually exists, otherwise it will append the user to nearbyUsers and emit "detectedUser".
for
nearbyUsers
… to nearbyUsers and emit "detectedUser"
Fixes issue #32
The
for
loop was returning after the first loop regardless of whether the user was already detected or not. This change will make it return only if the user actually exists, otherwise it will append the user tonearbyUsers
and emit "detectedUser".