-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix rendering non-members on the dashboard #238
Conversation
doing this in the template was hard to read and inefficient. also: rename OnlineMembers to OnlineUsers since it is a misnomer. There are other connected peers in a room in certain privacy modes.
I've deployed this to my instance now and I can't see the dashboard missbehaving anymore. Thanks! |
if err != nil { | ||
// TODO: do we want to show "external users" (non-members) on the dashboard? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The answer to that TODO comment apparently is "yes" 😄
{{$member = $alias.Name}} | ||
{{$memberIsAlias = true}} | ||
{{end}} | ||
{{end}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet to pull that logic into Go
updates #236