Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix: conference rooms were no longer hidden #445

Merged
merged 2 commits into from
Sep 5, 2016

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Sep 5, 2016

No description provided.

getOnlyOtherMember(room, me) {
const joinedMembers = room.getJoinedMembers();

if (joinedMembers.length === 2) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hrmmm.... what will this do if you are invited to a room with two other members?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point - should be easy to check

@richvdh
Copy link
Member

richvdh commented Sep 5, 2016

lgtm modulo comment

@richvdh richvdh assigned dbkr and unassigned richvdh Sep 5, 2016
@dbkr
Copy link
Member Author

dbkr commented Sep 5, 2016

Does this seem reasonable?

@dbkr dbkr assigned richvdh and unassigned dbkr Sep 5, 2016
@richvdh
Copy link
Member

richvdh commented Sep 5, 2016

Does this seem reasonable?

I guess so. I'm slightly sad that the implementation of "getOnlyOtherMember" doesn't really match the name or the comment, but it's certainly fine for what you're using it for. I'm happy for it to stay like this.

@richvdh richvdh assigned dbkr and unassigned richvdh Sep 5, 2016
@dbkr dbkr merged commit 80dd927 into develop Sep 5, 2016
@richvdh richvdh deleted the dbkr/fix_hide_conference_rooms branch February 15, 2017 13:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants