main
Bob Mottram 2020-05-03 13:18:35 +00:00
parent a08f6b273e
commit 0beeb438ca
1 changed files with 1 additions and 1 deletions

View File

@ -2430,7 +2430,7 @@ 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?
""" """
# must be a "Note" or "Announce" type # must be a recognized ActivityPub type
if ('"Note"' in postStr or if ('"Note"' in postStr or
'"Article"' in postStr or '"Article"' in postStr or
'"Patch"' in postStr or '"Patch"' in postStr or