Skip to content

Commit

Permalink
[FIX] Directory sending incorrect room type (#3188)
Browse files Browse the repository at this point in the history
Co-authored-by: Diego Mello <diegolmello@gmail.com>
  • Loading branch information
reinaldonetof and diegolmello authored Jun 7, 2021
1 parent 87dd31a commit 29ccb47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/DirectoryView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class DirectoryView extends React.Component {
} else if (['p', 'c'].includes(item.t) && !item.teamMain) {
const { room } = await RocketChat.getRoomInfo(item._id);
this.goRoom({
rid: item._id, name: item.name, joinCodeRequired: room.joinCodeRequired, t: 'c', search: true
rid: item._id, name: item.name, joinCodeRequired: room.joinCodeRequired, t: item.t, search: true
});
} else {
this.goRoom({
Expand Down

0 comments on commit 29ccb47

Please sign in to comment.