Open tvb opened 10 years ago
// If we're ordering by last active, filter out members who have opted out of being displayed on the online list.
if ($orderBy == "activity") {
foreach ($members as $k => $member) {
if (!empty($member["preferences"]["hideOnline"])) {
unset($members[$k]);
}
}
}
What should the behaviour be? "Online members (2)"?
Yeah would be my suggestion. There are simply 2 members online of which one is unknown.
@tvb did you already fix this? Or were you just proposing a fix? I'm fine with either way we count them, as long as we're consistent throughout.
@Thirtysixway negative, I have not been able to propose a fix yet.
There is an difference in the online member count when there are hidden members online.