forked from GNUsocial/gnu-social
Tag notice streams should only show post verbs
This commit is contained in:
parent
8acf930c45
commit
5b2b969a77
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user