]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticestream.php
Merge remote-tracking branch 'upstream/master'
[quix0rs-gnu-social.git] / lib / noticestream.php
index 0f53daf83f407e15a878d747d1268b972eb451c9..3b597fa08cf03899ca42406084fad93dc5c99d8b 100644 (file)
@@ -46,12 +46,13 @@ if (!defined('STATUSNET')) {
  */
 abstract class NoticeStream
 {
-    // Will only get notices with the 'post' activityverb by default.
     protected $selectVerbs = array();
+    protected $unselectVerbs = array();
 
     public function __construct()
     {
         $this->selectVerbs = array(ActivityVerb::POST, ActivityUtils::resolveUri(ActivityVerb::POST, true));
+        $this->unselectVerbs = array(ActivityVerb::DELETE);
     }
 
     abstract function getNoticeIds($offset, $limit, $since_id, $max_id);