discourse/plugins/chat/app/models
Roman Rizzi 6d9e950cac
FIX: Unsilence users on chat message flag disagree. (#19198)
* FIX: Unsilence users on chat message flag disagree.

We have an auto silence rule in place for chat message flags, so we need to unsilence users if the flag gets rejected.

Additionally, it also fixes the `disagree_and_restore` action, which wasn't recovering a deleted message.

* Update plugins/chat/spec/models/reviewable_chat_message_spec.rb

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2022-11-28 11:11:35 -03:00
..
concerns DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
category_channel.rb FIX: Automatically generate category channel slugs (#18879) 2022-11-09 10:28:31 +10:00
chat_channel.rb FEATURE: Generic hashtag autocomplete lookup and markdown cooking (#18937) 2022-11-21 08:37:06 +10:00
chat_channel_archive.rb
chat_draft.rb
chat_mention.rb
chat_message.rb SECURITY: Limit chat message char length (#19207) 2022-11-28 10:48:30 +10:00
chat_message_reaction.rb
chat_message_revision.rb FIX: Make chat editor IDs not null (#18903) 2022-11-08 09:06:13 +10:00
chat_upload.rb
chat_view.rb
chat_webhook_event.rb
deleted_chat_user.rb
direct_message.rb DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
direct_message_channel.rb FIX: Automatically generate category channel slugs (#18879) 2022-11-09 10:28:31 +10:00
direct_message_user.rb DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
incoming_chat_webhook.rb
reviewable_chat_message.rb FIX: Unsilence users on chat message flag disagree. (#19198) 2022-11-28 11:11:35 -03:00
user_chat_channel_membership.rb