forked from indymedia/epicyon
Check object type
parent
b214c0d088
commit
ac38dbbb36
|
@ -3131,6 +3131,7 @@ def htmlIndividualPost(recentPostsCache: {},maxRecentPosts: int, \
|
|||
messageId=postJsonObject['id'].replace('/activity','')
|
||||
|
||||
# show the previous posts
|
||||
if isinstance(postJsonObject['object'], dict):
|
||||
while postJsonObject['object'].get('inReplyTo'):
|
||||
postFilename=locatePost(baseDir,nickname,domain,postJsonObject['object']['inReplyTo'])
|
||||
if not postFilename:
|
||||
|
|
Loading…
Reference in New Issue