[COMPONENTS][Conversation] Removed redundant complementary information from notes replied to

This commit is contained in:
2022-02-08 14:43:39 +00:00
parent 22741702bf
commit 5d0b8930e1
3 changed files with 6 additions and 2 deletions

View File

@@ -170,6 +170,10 @@ class Conversation extends Component
*/
public function onAppendCardNote(array $vars, array &$result): bool
{
if (str_contains($vars['request']->getPathInfo(), 'conversation')) {
return Event::next;
}
// The current Note being rendered
$note = $vars['note'];