mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
a29af6581e
commit
15e2805d69
11
inbox.py
11
inbox.py
|
@ -1287,15 +1287,20 @@ def obtainAvatarForReplyPost(session,baseDir: str,httpPrefix: str,domain: str,pe
|
|||
return
|
||||
|
||||
lookupActor=postJsonObject['object']['inReplyTo']
|
||||
if lookupActor:
|
||||
if '/users/' in lookupActor or \
|
||||
if not lookupActor:
|
||||
return
|
||||
|
||||
if not ('/users/' in lookupActor or \
|
||||
'/channel/' in lookupActor or \
|
||||
'/profile/' in lookupActor:
|
||||
'/profile/' in lookupActor):
|
||||
return
|
||||
|
||||
if '/statuses/' in lookupActor:
|
||||
lookupActor=lookupActor.split('/statuses/')[0]
|
||||
|
||||
if debug:
|
||||
print('DEBUG: Obtaining actor for reply post '+lookupActor)
|
||||
|
||||
for tries in range(6):
|
||||
pubKey= \
|
||||
getPersonPubKey(baseDir,session,lookupActor, \
|
||||
|
|
Loading…
Reference in New Issue