Skip to content

Commit

Permalink
fix : space forum should be visible only in the space (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
odelcroi authored Sep 19, 2023
1 parent 19535d7 commit 37f3666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tchap/lib/createTchapRoom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default class TchapCreateRoom {
case TchapRoomType.Forum: {
// Space "Forum" only for space members and not encrypted
if (parentSpace) {
createRoomOpts.visibility = Visibility.PrivateChat;
createRoomOpts.visibility = Visibility.Private;
} else { //"Forum" only for tchap members and not encrypted
createRoomOpts.visibility = Visibility.Public;
}
Expand Down

0 comments on commit 37f3666

Please sign in to comment.