Set nickname

master
Bob Mottram 2019-08-25 11:06:12 +01:00
parent 336e79c16e
commit 7ed821a359
1 changed files with 1 additions and 0 deletions

View File

@ -2604,6 +2604,7 @@ class PubServer(BaseHTTPRequestHandler):
if authorized and self.path.endswith('/personoptions'): if authorized and self.path.endswith('/personoptions'):
originPathStr=self.path.split('/personoptions')[0] originPathStr=self.path.split('/personoptions')[0]
chooserNickname=getNicknameFromActor(originPathStr) chooserNickname=getNicknameFromActor(originPathStr)
self.postToNickname=chooserNickname
length = int(self.headers['Content-length']) length = int(self.headers['Content-length'])
optionsConfirmParams=self.rfile.read(length).decode('utf-8').replace('%3A',':').replace('%2F','/') optionsConfirmParams=self.rfile.read(length).decode('utf-8').replace('%3A',':').replace('%2F','/')
# actor for the person # actor for the person