]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Notice.php
Correct content now ... :-(
[quix0rs-gnu-social.git] / classes / Notice.php
index 15e50acbe0de0c748199e6fc606f1c3125299844..83d5d5fd577e73cb953ccf31c45915e1c900b8f2 100644 (file)
@@ -2667,11 +2667,8 @@ class Notice extends Managed_DataObject
     }
 
     public function isPrivateScope () {
-        return (
-            ($this->is_local === Notice::LOCAL_NONPUBLIC) ||
-            ($this->is_local === Notice::GATEWAY) ||
-            ($this->is_local === Notice::REMOTE)
-        );
+        return ($this->scope != Notice::SITE_SCOPE &&
+                $this->scope != Notice::PUBLIC_SCOPE);
     }
 
     /**