diff options
Diffstat (limited to 'lib/private/Activity/Event.php')
-rw-r--r-- | lib/private/Activity/Event.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/private/Activity/Event.php b/lib/private/Activity/Event.php index 4958cdfd46e..5f82b37c91a 100644 --- a/lib/private/Activity/Event.php +++ b/lib/private/Activity/Event.php @@ -74,6 +74,8 @@ class Event implements IEvent { protected $link = ''; /** @var string */ protected $icon = ''; + /** @var bool */ + protected $generateNotification = true; /** @var IEvent|null */ protected $child; @@ -532,4 +534,13 @@ class Event implements IEvent { */ ; } + + public function setGenerateNotification(bool $generate): IEvent { + $this->generateNotification = $generate; + return $this; + } + + public function getGenerateNotification(): bool { + return $this->generateNotification; + } } |