From e95ac52ca1dd771b57e012a9597496c580af5d65 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 22 Aug 2019 19:07:29 +0100 Subject: [PATCH] Debug --- inbox.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inbox.py b/inbox.py index f397b1d5..eef67e16 100644 --- a/inbox.py +++ b/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, \