discourse/plugins/chat/spec/support/examples
Loïc Guitaut 9c482a645c FIX: Allow deletion of categories when chat channel is not present
Currently it’s not possible to delete a category if an associated chat
channel is present even if there are no messages in this channel.
This can lead to annoying situations for our users.

This patch addresses the issue by checking if the channel is empty
instead of just checking if there is a channel.
2022-11-08 10:25:39 +01:00
..
channel_access_example.rb
chat_channel_model.rb FIX: Allow deletion of categories when chat channel is not present 2022-11-08 10:25:39 +01:00
chatable_model.rb