42wim / matterircd

Connect to your mattermost or slack using your IRC-client of choice.
MIT License
295 stars 60 forks source link

Cannot create new channel from IRC #237

Open setpill opened 5 years ago

setpill commented 5 years ago

When /joining a non-existent channel, a new Mattermost channel should be created and joined.

42wim commented 5 years ago

For those that want to make a PR for this, make sure to make this feature an option in matterircd.toml which is false by default.

hloeung commented 1 year ago

I feel like this is likely to create a bunch of typo channels - ones no one will likely use the UI to go and delete/purge. I agree with Wim on making sure it defaults to disabled.

So the change would basically be, on join getChannelIdTeam(), if no channel ID found or returned from , call CreateChannel() or similar.

kot0dama commented 10 months ago

Maybe this could be achieved through a /msg mattermost create-channel #whatever instead of a simple /join ? That would not reduce the risk of typos but would ensure the goal is to indeed create a new channel.

hloeung commented 10 months ago

I think this is a good path forward and related to the issue/wishlist you raised in https://github.com/42wim/matterircd/issues/568