From dd3ba06447ba317273e0d32f0af5ac5368760d83 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 28 Sep 2019 13:48:33 +0100 Subject: [PATCH] Include announces in media timeline --- posts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/posts.py b/posts.py index ef0419af5..d7a2b8120 100644 --- a/posts.py +++ b/posts.py @@ -1692,6 +1692,8 @@ def isDM(postJsonObject: {}) -> bool: def isImageMedia(postJsonObject: {}) -> bool: """Returns true if the given post has attached image media """ + if postJsonObject['type']=='Announce': + return True if postJsonObject['type']!='Create': return False if not postJsonObject.get('object'):