Replies don't have verbs (we'll do some join magic later)
This commit is contained in:
parent
efa3e8f3f4
commit
e15f322187
@ -86,12 +86,6 @@ class RawReplyNoticeStream extends NoticeStream
|
|||||||
Notice::addWhereSinceId($reply, $since_id, 'notice_id', 'modified');
|
Notice::addWhereSinceId($reply, $since_id, 'notice_id', 'modified');
|
||||||
Notice::addWhereMaxId($reply, $max_id, 'notice_id', 'modified');
|
Notice::addWhereMaxId($reply, $max_id, 'notice_id', 'modified');
|
||||||
|
|
||||||
if (!$this->allVerbs) {
|
|
||||||
$notice->whereAdd(sprintf('verb="%s" OR verb="%s"',
|
|
||||||
ActivityVerb::POST,
|
|
||||||
ActivityUtils::resolveUri(ActivityVerb::POST, true)));
|
|
||||||
}
|
|
||||||
|
|
||||||
$reply->orderBy('modified DESC, notice_id DESC');
|
$reply->orderBy('modified DESC, notice_id DESC');
|
||||||
|
|
||||||
if (!is_null($offset)) {
|
if (!is_null($offset)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user