mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 11:33:44 +08:00
9c482a645c
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. |
||
---|---|---|
.. | ||
api/schemas | ||
examples | ||
api_schema_matcher.rb | ||
chat_helper.rb |