[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:
Alexei Sorokin 2020-07-06 19:20:44 +03:00
parent 9226cce151
commit 89e84e9b1b

View File

@ -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)
{ {