forked from indymedia/epicyon
Comment
parent
a08f6b273e
commit
0beeb438ca
2
posts.py
2
posts.py
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue