HelpChat / ChatChat

ChatChat - Coming Soon
MIT License
51 stars 33 forks source link

Users can not switch to default channel. #155

Closed BlitzOffline closed 2 years ago

BlitzOffline commented 2 years ago

When a user switches their channel from the default one, they can't switch back to the default one as the command will still be locked behind a permission. We might want to either modify the Channel#isUsableBy method to return true if the channel is the default channel, or maybe just close this as solved when #154 is going to be solved if we actually want to force people to only switch back to default channel when they either have permission to when they don't have any other channel to use.

https://github.com/HelpChat/ChatChat/blob/9932c3f479d0dd535ac0253dae7aa62f9b99b8b0/plugin/src/main/java/at/helpch/chatchat/channel/AbstractChannel.java#L62-L64

BlitzOffline commented 2 years ago

Closed in #164