[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:
@@ -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()]),
|
||||
];
|
||||
|
Reference in New Issue
Block a user