X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fpublicnoticestream.php;h=34f7b4a1defb69d558bd6949118496cff3aa147f;hb=0cefab3603321b304914c7ee840e64a478ce050c;hp=044701aaf68bb2b7e983a2ec4e8837910b6bd446;hpb=59043dca7fb6f974b11797c4d0f20e5b78b0611d;p=quix0rs-gnu-social.git diff --git a/lib/publicnoticestream.php b/lib/publicnoticestream.php index 044701aaf6..34f7b4a1de 100644 --- a/lib/publicnoticestream.php +++ b/lib/publicnoticestream.php @@ -92,6 +92,10 @@ class RawPublicNoticeStream extends NoticeStream 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()) { @@ -105,4 +109,4 @@ class RawPublicNoticeStream extends NoticeStream return $ids; } -} \ No newline at end of file +}