nickname from path

master
Bob Mottram 2019-08-08 09:54:41 +01:00
parent 00b6eeed00
commit 800b50996f
1 changed files with 2 additions and 0 deletions

View File

@ -1958,6 +1958,8 @@ class PubServer(BaseHTTPRequestHandler):
'cc': ['https://www.w3.org/ns/activitystreams#Public']
}
}
pathUsersSection=self.path.split('/users/')[1]
self.postToNickname=pathUsersSection.split('/')[0]
self._postToOutbox(unfollowJson)
self._redirect_headers(originPathStr,cookie)
self.server.POSTbusy=False