Only upgrade user accounts

main
Bob Mottram 2021-08-31 19:39:03 +01:00
parent 643f18a2f0
commit fa7b27a196
1 changed files with 2 additions and 1 deletions

View File

@ -742,7 +742,8 @@ def personLookup(domain: str, path: str, baseDir: str) -> {}:
if not os.path.isfile(filename):
return None
personJson = loadJson(filename)
personUpgradeActor(baseDir, personJson, handle, filename)
if not isSharedInbox:
personUpgradeActor(baseDir, personJson, handle, filename)
# if not personJson:
# personJson={"user": "unknown"}
return personJson