WIP Allow for comment content to be submitted to backend

This commit is contained in:
2025-02-06 16:07:40 +01:00
parent 9aac80d834
commit 4047d5fd5b
6 changed files with 41 additions and 27 deletions

View File

@@ -447,6 +447,7 @@ final class ActivityController extends AbstractController
}
if (\array_key_exists('comment', $activityData) && $activityType->getCommentVisible() > 0) {
dump($activityData['comment']);
$comment = new CommentEmbeddable();
$comment->setComment($activityData['comment']);
$comment->setUserId($this->security->getUser()->getId());