discourse/plugins/chat/app/models
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
..
concerns
category_channel.rb DEV: initial system tests for chat and plugins (#18881) 2022-11-04 15:06:24 +01:00
chat_channel.rb FIX: Allow deletion of categories when chat channel is not present 2022-11-08 10:25:39 +01:00
chat_channel_archive.rb
chat_draft.rb
chat_mention.rb
chat_message.rb FIX: Make chat editor IDs not null (#18903) 2022-11-08 09:06:13 +10:00
chat_message_reaction.rb
chat_message_revision.rb FIX: Make chat editor IDs not null (#18903) 2022-11-08 09:06:13 +10:00
chat_upload.rb
chat_view.rb
chat_webhook_event.rb
deleted_chat_user.rb
direct_message.rb
direct_message_channel.rb
direct_message_user.rb
incoming_chat_webhook.rb
reviewable_chat_message.rb
user_chat_channel_membership.rb