Removes get activity feed function
This commit is contained in:
parent
0caea7e9ff
commit
7eb494b4ab
8 changed files with 27 additions and 174 deletions
|
@ -66,8 +66,8 @@ class ActivityStream(ABC):
|
|||
|
||||
def stream_users(self, status): # pylint: disable=no-self-use
|
||||
""" given a status, what users should see it """
|
||||
# direct messages don't appeard in feeds.
|
||||
if status.privacy == "direct":
|
||||
# direct messages don't appeard in feeds, direct comments/reviews/etc do
|
||||
if status.privacy == "direct" and status.status_type == 'Note':
|
||||
return None
|
||||
|
||||
# everybody who could plausibly see this status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue