X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fconversationnoticestream.php;h=9c32159d42aabe90de6fa2284e3c0ac281671fca;hb=dd61ae8fbeee64c85f8186672292335592be1ff5;hp=b9b03c45c5b6354b262a8a6ba02967c95dcea7a8;hpb=cd3cff451f2ac12ebe1b98c6ab643a0e4e931599;p=quix0rs-gnu-social.git diff --git a/lib/conversationnoticestream.php b/lib/conversationnoticestream.php index b9b03c45c5..9c32159d42 100644 --- a/lib/conversationnoticestream.php +++ b/lib/conversationnoticestream.php @@ -73,6 +73,7 @@ class RawConversationNoticeStream extends NoticeStream function __construct($id) { + parent::__construct(); $this->id = $id; } @@ -95,6 +96,10 @@ class RawConversationNoticeStream extends NoticeStream $notice->limit($offset, $limit); } + if (!empty($this->selectVerbs)) { + $notice->whereAddIn('verb', $this->selectVerbs, $notice->columnType('verb')); + } + // ORDER BY // currently imitates the previously used "_reverseChron" sorting $notice->orderBy('notice.created DESC');