mirror of https://gitlab.com/bashrc2/epicyon
Return to default timeline after voting on newswire item
parent
b2a07a5298
commit
1457e966fe
10
daemon.py
10
daemon.py
|
@ -4683,7 +4683,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
filename + '.votes')
|
filename + '.votes')
|
||||||
|
|
||||||
originPathStrAbsolute = \
|
originPathStrAbsolute = \
|
||||||
httpPrefix + '://' + domainFull + originPathStr
|
httpPrefix + '://' + domainFull + originPathStr + '/' + \
|
||||||
|
self.server.defaultTimeline
|
||||||
if callingDomain.endswith('.onion') and onionDomain:
|
if callingDomain.endswith('.onion') and onionDomain:
|
||||||
originPathStrAbsolute = \
|
originPathStrAbsolute = \
|
||||||
'http://' + onionDomain + originPathStr
|
'http://' + onionDomain + originPathStr
|
||||||
|
@ -4694,7 +4695,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
cookie, callingDomain)
|
cookie, callingDomain)
|
||||||
self._benchmarkGETtimings(GETstartTime, GETtimings,
|
self._benchmarkGETtimings(GETstartTime, GETtimings,
|
||||||
'unannounce done',
|
'unannounce done',
|
||||||
'follow approve shown')
|
'vote for newswite item')
|
||||||
self.server.GETbusy = False
|
self.server.GETbusy = False
|
||||||
|
|
||||||
def _newswireUnvote(self, callingDomain: str, path: str,
|
def _newswireUnvote(self, callingDomain: str, path: str,
|
||||||
|
@ -4723,7 +4724,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
filename + '.votes')
|
filename + '.votes')
|
||||||
|
|
||||||
originPathStrAbsolute = \
|
originPathStrAbsolute = \
|
||||||
httpPrefix + '://' + domainFull + originPathStr
|
httpPrefix + '://' + domainFull + originPathStr + '/' + \
|
||||||
|
self.server.defaultTimeline
|
||||||
if callingDomain.endswith('.onion') and onionDomain:
|
if callingDomain.endswith('.onion') and onionDomain:
|
||||||
originPathStrAbsolute = \
|
originPathStrAbsolute = \
|
||||||
'http://' + onionDomain + originPathStr
|
'http://' + onionDomain + originPathStr
|
||||||
|
@ -4734,7 +4736,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
cookie, callingDomain)
|
cookie, callingDomain)
|
||||||
self._benchmarkGETtimings(GETstartTime, GETtimings,
|
self._benchmarkGETtimings(GETstartTime, GETtimings,
|
||||||
'unannounce done',
|
'unannounce done',
|
||||||
'follow approve shown')
|
'unvote for newswite item')
|
||||||
self.server.GETbusy = False
|
self.server.GETbusy = False
|
||||||
|
|
||||||
def _followDenyButton(self, callingDomain: str, path: str,
|
def _followDenyButton(self, callingDomain: str, path: str,
|
||||||
|
|
Loading…
Reference in New Issue