nickname from path

This commit is contained in:
bashrc committed 2019-08-08 09:54:41 +01:00
1 parent 00b6eeed00
commit 800b50996f
1 file changed
+2
+2
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