X-Git-Url: https://git.mxchange.org/?p=quix0rs-gnu-social.git;a=blobdiff_plain;f=lib%2Fnoticestream.php;fp=lib%2Fnoticestream.php;h=3b597fa08cf03899ca42406084fad93dc5c99d8b;hp=0f53daf83f407e15a878d747d1268b972eb451c9;hb=4160a3fb730113f3d712bd777884c4b0482f6df1;hpb=abd90bbdf562614755802885dfb5673645df8575 diff --git a/lib/noticestream.php b/lib/noticestream.php index 0f53daf83f..3b597fa08c 100644 --- a/lib/noticestream.php +++ b/lib/noticestream.php @@ -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);