mirror of
https://github.com/discourse/discourse.git
synced 2025-01-06 07:23:47 +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 |
||
---|---|---|
.. | ||
types | ||
channel_archive_service_spec.rb | ||
channel_fetcher_spec.rb | ||
channel_hashtag_data_source_spec.rb | ||
channel_membership_manager_spec.rb | ||
duplicate_message_validator_spec.rb | ||
guardian_extensions_spec.rb | ||
message_bookmarkable_spec.rb | ||
message_mover_spec.rb | ||
message_processor_spec.rb | ||
message_reactor_spec.rb | ||
messages_exporter_spec.rb | ||
notifier_spec.rb | ||
parsed_mentions_spec.rb | ||
post_notification_handler_spec.rb | ||
review_queue_spec.rb | ||
slack_compatibility_spec.rb | ||
statistics_spec.rb | ||
steps_inspector_spec.rb | ||
transcript_service_spec.rb |