mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-04 19:52:33 +00:00
Redirect to events after posting new event
This commit is contained in:
1 parent
9b2356e195
commit
a0f973d0de
1 file changed
+4
-3
@@ -8540,10 +8540,11 @@ class PubServer(BaseHTTPRequestHandler):
|
||||
if not authorized:
|
||||
break
|
||||
|
||||
if currPostType != 'newshare':
|
||||
postRedirect = self.server.defaultTimeline
|
||||
else:
|
||||
postRedirect = self.server.defaultTimeline
|
||||
if currPostType == 'newshare':
|
||||
postRedirect = 'shares'
|
||||
elif currPostType == 'newevent':
|
||||
postRedirect = 'tlevents'
|
||||
|
||||
pageNumber = self._receiveNewPost(currPostType, self.path)
|
||||
if pageNumber:
|
||||
|
||||
Reference in new issue
Block a user