mirror of https://gitlab.com/bashrc2/epicyon
Private repeat
parent
8ee60e2fc7
commit
ea44c35901
|
@ -1525,6 +1525,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
repeatPrivate=False
|
repeatPrivate=False
|
||||||
if htmlGET and '?repeatprivate=' in self.path:
|
if htmlGET and '?repeatprivate=' in self.path:
|
||||||
repeatPrivate=True
|
repeatPrivate=True
|
||||||
|
self.path=self.path.replace('?repeatprivate=','?repeat=')
|
||||||
# announce/repeat from the web interface
|
# announce/repeat from the web interface
|
||||||
if htmlGET and '?repeat=' in self.path:
|
if htmlGET and '?repeat=' in self.path:
|
||||||
pageNumber=1
|
pageNumber=1
|
||||||
|
@ -1599,6 +1600,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
unrepeatPrivate=False
|
unrepeatPrivate=False
|
||||||
if htmlGET and '?unrepeatprivate=' in self.path:
|
if htmlGET and '?unrepeatprivate=' in self.path:
|
||||||
unrepeatPrivate=True
|
unrepeatPrivate=True
|
||||||
|
self.path=self.path.replace('?unrepeatprivate=','?unrepeat=')
|
||||||
# undo an announce/repeat from the web interface
|
# undo an announce/repeat from the web interface
|
||||||
if htmlGET and '?unrepeat=' in self.path:
|
if htmlGET and '?unrepeat=' in self.path:
|
||||||
pageNumber=1
|
pageNumber=1
|
||||||
|
|
Loading…
Reference in New Issue