-
Notifications
You must be signed in to change notification settings - Fork 2
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
Updated member list to show offline members also. #42
Conversation
…r List. In room.coffee: returned offline for the status in the method userActiveByUsername. The method previously pulled the user from the session when doing the check. It disregarded it if the user was not in the session (offline). Commented out the base.less file that was overriding the status color in the member list.
Works for me 👍 I think we should sort alphabetically. Maybe group by status? FYI: Duplicate of RocketChat#337. You should create a pull request for RocketChat. Also, moderators suggest creating a configurable setting. |
Thanks Reid. I need to go through their issues a little closer! |
# Conflicts: # client/stylesheets/base.less # client/views/app/room.html
…yone in the room Removed offset Added profile first name and last name to user data publication Updated userObserve to include new profile fields Updated room to display first name and last name (sort by last name) instead of username
…blication because it now returns all users.
@@ -105,16 +105,14 @@ Meteor.startup -> | |||
return room?.dom? | |||
|
|||
updateUserStatus = (user, status, utcOffset) -> | |||
onlineUsersValue = onlineUsers.curValue | |||
allUsersValue = allUsers.curValue |
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.
Does .curValue return the same thing as .get() for a reactive var?
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.
I dunno. I just changed their currrent one from online. You're much more familiar with it.
👍 |
What do you know, now there are conflicts to merge it back in 😞 |
# Conflicts: # client/views/app/room.coffee
Updated member list to show offline members also.
Updated member list to show offline users and color the names according to their status.
In room.coffee: returned offline for the status in the method userActiveByUsername. The method previously pulled the user from the session when doing the check. It disregarded it if the user was not in the session (offline).
Commented out the base.less file that was overriding the status color in the member list.