main
Bob Mottram 2021-03-05 20:13:35 +00:00
parent 5ef83756c3
commit f7e2378581
1 changed files with 0 additions and 3 deletions

View File

@ -3030,9 +3030,6 @@ def _addPostStringToTimeline(postStr: str, boxname: str,
postsInBox: [], boxActor: str) -> bool: postsInBox: [], boxActor: str) -> bool:
""" is this a valid timeline post? """ is this a valid timeline post?
""" """
if '"Update"' in postStr or '"Like"' in postStr:
return False
# must be a recognized ActivityPub type # must be a recognized ActivityPub type
if ('"Note"' in postStr or if ('"Note"' in postStr or
'"EncryptedMessage"' in postStr or '"EncryptedMessage"' in postStr or