mirror of
https://github.com/discourse/discourse.git
synced 2024-12-13 16:53:45 +08:00
22a55ef0ce
This commit adds the messages_count column for ChatChannel messages, which is the number of not-deleted messages in the channel. This is not updated every time a message is created or deleted in a channel, so it should not be displayed in the UI. It is updated eventually via Jobs::ChatPeriodicalUpdates, which will have additional functions in future after being introduced here. Also update these counts for existing channels in a post migration. |
||
---|---|---|
.. | ||
category_channel_spec.rb | ||
category_spec.rb | ||
chat_channel_spec.rb | ||
chat_message_spec.rb | ||
deleted_chat_user_spec.rb | ||
direct_message_channel_spec.rb | ||
direct_message_spec.rb | ||
reviewable_chat_message_spec.rb | ||
user_spec.rb |