mirror of https://gitlab.com/bashrc2/epicyon
Ignore updates or likes
parent
b18d5b6242
commit
8689b634d6
3
posts.py
3
posts.py
|
@ -3027,6 +3027,9 @@ def _addPostStringToTimeline(postStr: str, boxname: str,
|
|||
postsInBox: [], boxActor: str) -> bool:
|
||||
""" is this a valid timeline post?
|
||||
"""
|
||||
if '"Update"' in postStr or '"Like"' in postStr:
|
||||
return False
|
||||
|
||||
# must be a recognized ActivityPub type
|
||||
if ('"Note"' in postStr or
|
||||
'"EncryptedMessage"' in postStr or
|
||||
|
|
Loading…
Reference in New Issue