Check for session

merge-requests/18/head
Bob Mottram 2021-02-14 14:08:14 +00:00
parent e321cbd0e5
commit 2a31e6a7af
1 changed files with 7 additions and 5 deletions

View File

@ -5490,11 +5490,13 @@ class PubServer(BaseHTTPRequestHandler):
if actorJson.get('alsoKnownAs'):
alsoKnownAs = actorJson['alsoKnownAs']
checkForChangedActor(self.server.session,
self.server.baseDir, self.server.httpPrefix,
self.server.domainFull,
optionsActor, optionsProfileUrl,
self.server.personCache, 3)
if self.server.session:
checkForChangedActor(self.server.session,
self.server.baseDir,
self.server.httpPrefix,
self.server.domainFull,
optionsActor, optionsProfileUrl,
self.server.personCache, 3)
msg = htmlPersonOptions(self.server.defaultTimeline,
self.server.cssCache,