Include actor

main2
Bob Mottram 2019-10-01 15:00:06 +01:00
parent e986d30367
commit c8de9ae6c8
1 changed files with 2 additions and 2 deletions

View File

@ -981,11 +981,11 @@ def receiveAnnounce(session,handle: str,baseDir: str, \
return True
updateAnnounceCollection(postFilename,messageJson['actor'],debug)
if debug:
print('DEBUG: Downloading announce post '+messageJson['object'])
print('DEBUG: Downloading announce post '+messageJson['actor']+' -> '+messageJson['object'])
postJsonObject=downloadAnnounce(session,baseDir,httpPrefix,nickname,domain,messageJson,__version__)
if postJsonObject:
if debug:
print('DEBUG: Announce post downloaded for '+messageJson['object'])
print('DEBUG: Announce post downloaded for '+messageJson['actor']+' -> '+messageJson['object'])
# Try to obtain the actor for this person
# so that their avatar can be shown
lookupActor=None