]> BookStack Code Mirror - bookstack/blobdiff - app/Activity/Tools/UserEntityWatchOptions.php
respective book and chapter structure added.
[bookstack] / app / Activity / Tools / UserEntityWatchOptions.php
index 231204fdf67b1f9f54fcbb90636fbea5de15ff24..559d7903d6f510671ae01c74a61409b0de93c875 100644 (file)
@@ -22,7 +22,7 @@ class UserEntityWatchOptions
 
     public function canWatch(): bool
     {
-        return $this->user->can('receive-notifications') && !$this->user->isDefault();
+        return $this->user->can('receive-notifications') && !$this->user->isGuest();
     }
 
     public function getWatchLevel(): string