Commit 5b2b969a authored by mmn's avatar mmn

Tag notice streams should only show post verbs

parent 8acf930c
......@@ -89,6 +89,13 @@ class RawTagNoticeStream extends NoticeStream
Notice::addWhereSinceId($nt, $since_id, 'notice_id');
Notice::addWhereMaxId($nt, $max_id, 'notice_id');
if (!empty($this->selectVerbs)) {
$notice->whereAddIn('verb', $this->selectVerbs, $notice->columnType('verb'));
}
if (!empty($this->unselectVerbs)) {
$notice->whereAddIn('!verb', $this->unselectVerbs, $notice->columnType('verb'));
}
$nt->orderBy('created DESC, notice_id DESC');
if (!is_null($offset)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment