mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
2d90c8945c
commit
e95ac52ca1
3
inbox.py
3
inbox.py
|
@ -585,7 +585,7 @@ def personReceiveUpdate(baseDir: str, \
|
|||
if updatePort:
|
||||
if updatePort!=80 and updatePort!=443:
|
||||
updateDomainFull=updateDomain+':'+str(updatePort)
|
||||
actor=domainFull+'/users/'+updateNickname
|
||||
actor=updateDomainFull+'/users/'+updateNickname
|
||||
if actor not in personJson['id']:
|
||||
if debug:
|
||||
print('actor: '+actor)
|
||||
|
@ -660,6 +660,7 @@ def receiveUpdate(session,baseDir: str, \
|
|||
|
||||
if messageJson['object']['type']=='Person':
|
||||
if messageJson['object'].get('url') and messageJson['object'].get('id'):
|
||||
print('Request to update actor: '+messageJson['actor'])
|
||||
updateDomain,updatePort=getDomainFromActor(messageJson['actor'])
|
||||
updateNickname=getNicknameFromActor(messageJson['actor'])
|
||||
if personReceiveUpdate(baseDir, \
|
||||
|
|
Loading…
Reference in New Issue