From 8689b634d6ee7ee131e512e7a2fd689121c677e5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 5 Mar 2021 15:39:03 +0000 Subject: [PATCH] Ignore updates or likes --- posts.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/posts.py b/posts.py index 2da756b40..79bd1149b 100644 --- a/posts.py +++ b/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