[COMPONENTS][Conversation] Added missing foreign keys to ConversationMute Entity

Fixed 'is_muted' variable check logic that impeded the Conversation from being muted
This commit is contained in:
2022-01-07 21:14:13 +00:00
parent fc57b3290e
commit d17f276419
3 changed files with 11 additions and 7 deletions

View File

@@ -227,7 +227,7 @@ class Conversation extends Component
}
$actions[] = [
'title' => ConversationMute::isMuted($note, $user) ? _m('Mute conversation') : _m('Unmute conversation'),
'title' => ConversationMute::isMuted($note, $user) ? _m('Unmute conversation') : _m('Mute conversation'),
'classes' => '',
'url' => Router::url('conversation_mute', ['conversation_id' => $note->getConversationId()]),
];