diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-06-21 10:21:35 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-06-21 10:21:35 -0100 |
commit | 177e0a03308bea4cb0cc2449423d4a50af15cb21 (patch) | |
tree | 27deb5ff990ee5dd862db3469e7a2c04d1af15e3 | |
parent | e85bb3495c042a969eca79924bee64c032307c8b (diff) |
fixing local/federated timeline
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r-- | lib/Db/StreamRequest.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/Db/StreamRequest.php b/lib/Db/StreamRequest.php index 152e8f3d..db16ad95 100644 --- a/lib/Db/StreamRequest.php +++ b/lib/Db/StreamRequest.php @@ -427,11 +427,12 @@ class StreamRequest extends StreamRequestBuilder { $qb = $this->getStreamSelectSql(); $this->limitPaginate($qb, $since, $limit); - if ($localOnly) { - $this->limitToLocal($qb, true); - } +// if ($localOnly) { + $this->limitToLocal($qb, $localOnly); +// } + + $this->limitToType($qb, Note::TYPE); -// $this->filterHiddenOnTimeline($qb); $this->leftJoinCacheActors($qb, 'attributed_to'); $this->leftJoinStreamAction($qb); |