This commit introduce a new API for registering callbacks, which we'll execute when a user gets destroyed, and the `delete_posts` opt is true. The chat plugin registers one callback and queues a job to destroy every message from that user in batches. |
||
|---|---|---|
| .. | ||
| regular | ||
| scheduled | ||
| chat_channel_archive_spec.rb | ||
| chat_channel_delete_spec.rb | ||
| delete_old_chat_messages_spec.rb | ||
| process_chat_message_spec.rb | ||
| update_user_counts_for_chat_channels_spec.rb | ||