Hide posts from users with private_stream in scoping streams

For example the public timeline would show notices from a user with
private_stream configured. (previously it would only hide _new_ notices
by this user as they would be the only ones with notice scoping set).
This commit is contained in:
Mikael Nordfeldth
2015-02-24 22:59:58 +01:00
parent 060dbe1b56
commit ce91f1c0e6
3 changed files with 17 additions and 12 deletions

View File

@@ -992,6 +992,11 @@ class User extends Managed_DataObject
return $act;
}
public function isPrivateStream()
{
return $this->getProfile()->isPrivateStream();
}
public function delPref($namespace, $topic)
{
return $this->getProfile()->delPref($namespace, $topic);