mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 23:48:45 +08:00
766bcbc684
This commit adds last_editor_id to ChatMessage for parity with Post in core, as well as adding user_id to the ChatMessageRevision record since we need to know who is making edits and revisions to messages, in case in future we want to allow more than just the current user to edit chat messages. The backfill for data here simply uses the record's creating user ID, but in future if we allow other people to edit the messages it will use their ID. |
||
---|---|---|
.. | ||
concerns | ||
category_channel.rb | ||
chat_channel_archive.rb | ||
chat_channel.rb | ||
chat_draft.rb | ||
chat_mention.rb | ||
chat_message_reaction.rb | ||
chat_message_revision.rb | ||
chat_message.rb | ||
chat_upload.rb | ||
chat_view.rb | ||
chat_webhook_event.rb | ||
deleted_chat_user.rb | ||
direct_message_channel.rb | ||
direct_message_user.rb | ||
direct_message.rb | ||
incoming_chat_webhook.rb | ||
reviewable_chat_message.rb | ||
user_chat_channel_membership.rb |