cnstll/ft_transcendAnce

[Bug] Private channels appear in channel search

Closed this issue · 0 comments

Describe the bug

The behaviour does not seem right : we display a private channel in the channel search bar but the user can on join it on clicking on it - as it should - and no error message is displayed

Steps to reproduce

go to /chat | create a private channel | look it up with another user in channel search (/chat)

Expected behavior

Maybe:

  • Do not display private channels
  • Display an error notification on click: "Private dancefloor cannot be accessed"

Environment

No response

OS

No response

Browser

No response

Version

No response

Additional context

No response

Relevant log output

No response