forked from indymedia/epicyon
prevent an error for posts missing an inReplyTo key.
parent
fc2c6e6aa0
commit
61ff46ad1c
1
inbox.py
1
inbox.py
|
@ -2364,6 +2364,7 @@ def inboxAfterCapabilities(recentPostsCache: {}, maxRecentPosts: int,
|
|||
if nickname != 'inbox':
|
||||
# replies index will be updated
|
||||
updateIndexList.append('tlreplies')
|
||||
if postJsonObject['object'].get('inReplyTo'):
|
||||
inReplyTo = postJsonObject['object']['inReplyTo']
|
||||
if inReplyTo:
|
||||
if isinstance(inReplyTo, str):
|
||||
|
|
Loading…
Reference in New Issue