From 6fae77f138bba13efdc67dce90825b6f1c0cb1b1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 20 Aug 2019 22:09:56 +0100 Subject: [PATCH] Special case for updates to followers --- posts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/posts.py b/posts.py index c4a5784d..88775c5e 100644 --- a/posts.py +++ b/posts.py @@ -661,7 +661,8 @@ def postIsAddressedToFollowers(baseDir: str, return False toList=[] ccList=[] - if isinstance(postJsonObject['object'], dict): + if postJsonObject['type']!='Update' and \ + isinstance(postJsonObject['object'], dict): if not postJsonObject['object'].get('to'): return False toList=postJsonObject['object']['to']