Return to inbox

master
Bob Mottram 2019-08-25 11:21:27 +01:00
parent 83eda427fd
commit 38bba4eeae
1 changed files with 5 additions and 5 deletions

View File

@ -2688,7 +2688,7 @@ class PubServer(BaseHTTPRequestHandler):
nickname=self.path.split('/users/')[1]
if '/' in nickname:
nickname=nickname.split('/')[0]
self._redirect_headers('/users/'+nickname+'/outbox',cookie)
self._redirect_headers('/users/'+nickname+'/inbox',cookie)
self.server.POSTbusy=False
return
postState=self._receiveNewPost(authorized,'newunlisted')
@ -2696,7 +2696,7 @@ class PubServer(BaseHTTPRequestHandler):
nickname=self.path.split('/users/')[1]
if '/' in nickname:
nickname=nickname.split('/')[0]
self._redirect_headers('/users/'+nickname+'/outbox',cookie)
self._redirect_headers('/users/'+nickname+'/inbox',cookie)
self.server.POSTbusy=False
return
postState=self._receiveNewPost(authorized,'newfollowers')
@ -2704,7 +2704,7 @@ class PubServer(BaseHTTPRequestHandler):
nickname=self.path.split('/users/')[1]
if '/' in nickname:
nickname=nickname.split('/')[0]
self._redirect_headers('/users/'+nickname+'/outbox',cookie)
self._redirect_headers('/users/'+nickname+'/inbox',cookie)
self.server.POSTbusy=False
return
postState=self._receiveNewPost(authorized,'newdm')
@ -2712,7 +2712,7 @@ class PubServer(BaseHTTPRequestHandler):
nickname=self.path.split('/users/')[1]
if '/' in nickname:
nickname=nickname.split('/')[0]
self._redirect_headers('/users/'+nickname+'/outbox',cookie)
self._redirect_headers('/users/'+nickname+'/inbox',cookie)
self.server.POSTbusy=False
return
postState=self._receiveNewPost(authorized,'newreport')
@ -2720,7 +2720,7 @@ class PubServer(BaseHTTPRequestHandler):
nickname=self.path.split('/users/')[1]
if '/' in nickname:
nickname=nickname.split('/')[0]
self._redirect_headers('/users/'+nickname+'/outbox',cookie)
self._redirect_headers('/users/'+nickname+'/inbox',cookie)
self.server.POSTbusy=False
return
postState=self._receiveNewPost(authorized,'newshare')