mirror of https://gitlab.com/bashrc2/epicyon
Redirect to events after posting new event
parent
9b2356e195
commit
a0f973d0de
|
@ -8540,10 +8540,11 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
if not authorized:
|
||||
break
|
||||
|
||||
if currPostType != 'newshare':
|
||||
postRedirect = self.server.defaultTimeline
|
||||
else:
|
||||
if currPostType == 'newshare':
|
||||
postRedirect = 'shares'
|
||||
elif currPostType == 'newevent':
|
||||
postRedirect = 'tlevents'
|
||||
|
||||
pageNumber = self._receiveNewPost(currPostType, self.path)
|
||||
if pageNumber:
|
||||
|
|
Loading…
Reference in New Issue