mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
5ef83756c3
commit
f7e2378581
3
posts.py
3
posts.py
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue