[NOTICES] Revert "We want the profile stream to be as raw as possible!"
There are only three possible visible notice verbs: POST, SHARE and DELETE.
What including all verbs does is it makes limiting (FETCH FIRST) unreliable as
the query will fetch invisible stuff (like favourites) and count it in, but
nothing will be displayed.
NoticeStream only allows POST and SHARE, so this effectively removes tombstones
from the profile page like in 78a111b57d
This commit is contained in:
parent
eb647f15a7
commit
cbb83a9752
@ -107,7 +107,6 @@ class ProfileNoticeStream extends ScopingNoticeStream
|
|||||||
class RawProfileNoticeStream extends NoticeStream
|
class RawProfileNoticeStream extends NoticeStream
|
||||||
{
|
{
|
||||||
protected $target;
|
protected $target;
|
||||||
protected $selectVerbs = array(); // select all verbs
|
|
||||||
|
|
||||||
public function __construct(Profile $target)
|
public function __construct(Profile $target)
|
||||||
{
|
{
|
Loading…
Reference in New Issue
Block a user