diff --git a/daemon.py b/daemon.py index 164a60a60..fc1ba1e51 100644 --- a/daemon.py +++ b/daemon.py @@ -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: