codebuddies / codebuddies

CodeBuddies.org: Community-organized hangouts for learning programming together - community-built using MeteorJS
http://codebuddies.org
GNU General Public License v3.0
524 stars 244 forks source link

[BUG] Study Group 24/7 Hangout Incorrectly Shows Number of Users in Hangout #1080

Open wuworkshop opened 5 years ago

wuworkshop commented 5 years ago

Do you want to request a feature or report a bug? Bug

What is the current behavior? In study groups' 24/7 Hangout tab, it incorrectly shows that there are users in the hangout when there is no one in the hangout.

Example from Colt CS Study Group: https://codebuddies.org/study-group/colt-steele's-javascript-algorithms-and-data-structures-masterclass/pBChFYKfqXPz7shao

It shows "2 people are currently in the 24/7 hangout". I joined the hangout and there was no one in there.

Another CB member had the same experience with the YDKJS study group: https://codebuddies.org/study-group/you-don%25E2%2580%2599t-know-js-/ocvnsHaMQ8qDBsXkq

What is the expected behavior? The 24/7 Hangouts tab should show the correct number of users in the 24/7 hangout.

Which browser / OS are affected by this issue? (An isolated way to reproduce the bug) I was seeing this in Firefox and Chrome on macOS.

Related issues: https://github.com/codebuddies/codebuddies/issues/691

https://github.com/codebuddies/codebuddies/issues/971

distalx commented 5 years ago

This issue is related to #989.

This code is how we used to keep track of these numbers, it stoped working after removal of mizzao's meteor-user-status package.