mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 12:03:35 +08:00
b1978e7ad8
Initial migration and changes to models as well as changing the following services to update last_message_id: * Chat::MessageCreator * Chat::RestoreMessage * Chat::TrashMessage The data migration will set the `last_message_id` for all existing threads and channels in the database. When we query the thread list as well as the channel, we look at the last message ID for the following: * Channel - Sorting DM channels, and channel metadata for the list of channels * Thread - Last reply details for thread indicators and thread list |
||
---|---|---|
.. | ||
auto_channel_user_removal_spec.rb | ||
custom_api_key_scopes_spec.rb | ||
plugin_api_spec.rb | ||
post_chat_quote_spec.rb | ||
thread_replies_count_cache_accuracy_spec.rb |