1
0
Fork 0

Removes get activity feed function

This commit is contained in:
Mouse Reeve 2021-03-22 19:17:46 -07:00
parent 0caea7e9ff
commit 7eb494b4ab
8 changed files with 27 additions and 174 deletions

View file

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