master
Bob Mottram 2019-08-07 12:58:01 +01:00
parent 53b5fd4646
commit 71bd312aa3
1 changed files with 2 additions and 2 deletions

View File

@ -749,7 +749,7 @@ class PubServer(BaseHTTPRequestHandler):
self._redirect_headers(actor+'/inbox',cookie) self._redirect_headers(actor+'/inbox',cookie)
return return
# send a follow request approval # send a follow request approval from the web interface
if authorized and '/followapprove=' in self.path: if authorized and '/followapprove=' in self.path:
originPathStr=self.path.split('/followapprove=')[0] originPathStr=self.path.split('/followapprove=')[0]
followerNickname=getNicknameFromActor(originPathStr) followerNickname=getNicknameFromActor(originPathStr)
@ -772,7 +772,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.GETbusy=False self.server.GETbusy=False
return return
# deny a follow request # deny a follow request from the web interface
if authorized and '/followdeny=' in self.path: if authorized and '/followdeny=' in self.path:
originPathStr=self.path.split('/followdeny=')[0] originPathStr=self.path.split('/followdeny=')[0]
followerNickname=getNicknameFromActor(originPathStr) followerNickname=getNicknameFromActor(originPathStr)