String cast for to field debug

main
Bob Mottram 2021-07-19 09:52:28 +01:00
parent 33ce8fbfb5
commit d53bf9a5f7
1 changed files with 2 additions and 2 deletions

View File

@ -94,12 +94,12 @@ def _outboxPersonReceiveUpdate(recentPostsCache: {},
if len(messageJson['to']) != 1:
if debug:
print('DEBUG: c2s actor update - to does not contain one actor ' +
messageJson['to'])
str(messageJson['to']))
return
if messageJson['to'][0] != actor:
if debug:
print('DEBUG: c2s actor update - to does not contain actor ' +
messageJson['to'] + ' ' + actor)
str(messageJson['to']) + ' ' + actor)
return
if not messageJson['id'].startswith(actor + '#updates/'):
if debug: