From 845a794b7429a7d6c346748f064fdd0195ad3bf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 18 Nov 2025 13:35:17 +0100 Subject: [PATCH] Associate activity's creator as a participant by default - Added `addUser` call to automatically include the activity creator as a participant. --- src/Bundle/ChillActivityBundle/Controller/ActivityController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Bundle/ChillActivityBundle/Controller/ActivityController.php b/src/Bundle/ChillActivityBundle/Controller/ActivityController.php index f248c6559..bc9adc698 100644 --- a/src/Bundle/ChillActivityBundle/Controller/ActivityController.php +++ b/src/Bundle/ChillActivityBundle/Controller/ActivityController.php @@ -382,6 +382,7 @@ final class ActivityController extends AbstractController $entity = new Activity(); $entity->setUser($this->security->getUser()); + $entity->addUser($this->security->getUser()); if ($person instanceof Person) { $entity->setPerson($person);