diff options
-rw-r--r-- | app/models/concerns/account_interactions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/account_interactions.rb b/app/models/concerns/account_interactions.rb index d5e2fe985..538e92f41 100644 --- a/app/models/concerns/account_interactions.rb +++ b/app/models/concerns/account_interactions.rb @@ -140,7 +140,7 @@ module AccountInteractions def mute_conversation!(conversation, hidden: false) mute = conversation_mutes.find_or_create_by!(conversation: conversation) - mute.update(hidden: hidden) if mute.hidden? != hidden + mute.update(hidden: hidden) if hidden.present? && mute.hidden? != hidden mute end |