class PublicNoticeStream extends ScopingNoticeStream
{
- function __construct()
+ function __construct($profile=null)
{
parent::__construct(new CachingNoticeStream(new RawPublicNoticeStream(),
- 'public'));
+ 'public'),
+ $profile);
}
}
Notice::addWhereSinceId($notice, $since_id);
Notice::addWhereMaxId($notice, $max_id);
+ if (!empty($this->selectVerbs)) {
+ $notice->whereAddIn('verb', $this->selectVerbs, $notice->columnType('verb'));
+ }
+
$ids = array();
if ($notice->find()) {
return $ids;
}
-}
\ No newline at end of file
+}