Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/views/RoomActionsView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -713,13 +713,13 @@ class RoomActionsView extends React.Component {
renderLastSection = () => {
const { room, joined } = this.state;
const { theme } = this.props;
const { t, blocker } = room;
const { t, blocker, usernames } = room;

if (!joined || t === 'l') {
return null;
}

if (t === 'd') {
if (t === 'd' && usernames.length === 2) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's use RocketChat.isGroupChat

return (
<List.Section>
<List.Separator />
Expand Down