discourse/plugins/chat
Martin Brennan b1978e7ad8
DEV: Add last_message_id to channel and thread (#22488)
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
2023-07-13 10:28:11 +10:00
..
app DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00
assets DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00
config FEATURE: Inline topic summary. Cached version accessible to everyone. (#22551) 2023-07-12 11:21:51 -03:00
db DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00
lib DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00
public
spec DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00
test/javascripts DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00
plugin.rb FIX: ActiveModel::Types :array load error in production (#22377) 2023-07-03 11:30:09 +10:00
README.md DEV: Chat service object initial implementation (#19814) 2023-02-13 13:09:57 +01:00

This plugin is still in active development and may change frequently

Documentation

The Discourse Chat plugin adds chat functionality to your Discourse so it can natively support both long-form and short-form communication needs of your online community.

For user documentation, see Discourse Chat.

For developer documentation, see Discourse Documentation.