]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/conversationnoticestream.php
NoticeStream fixes regarding non-post verbs
[quix0rs-gnu-social.git] / lib / conversationnoticestream.php
index b9b03c45c5b6354b262a8a6ba02967c95dcea7a8..27489a42dfe777be9017c4f53d142fdbbbfbb158 100644 (file)
@@ -95,6 +95,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');