Private repeat

main
Bob Mottram 2020-02-14 17:37:30 +00:00
parent 8ee60e2fc7
commit ea44c35901
1 changed files with 2 additions and 0 deletions

View File

@ -1525,6 +1525,7 @@ class PubServer(BaseHTTPRequestHandler):
repeatPrivate=False
if htmlGET and '?repeatprivate=' in self.path:
repeatPrivate=True
self.path=self.path.replace('?repeatprivate=','?repeat=')
# announce/repeat from the web interface
if htmlGET and '?repeat=' in self.path:
pageNumber=1
@ -1599,6 +1600,7 @@ class PubServer(BaseHTTPRequestHandler):
unrepeatPrivate=False
if htmlGET and '?unrepeatprivate=' in self.path:
unrepeatPrivate=True
self.path=self.path.replace('?unrepeatprivate=','?unrepeat=')
# undo an announce/repeat from the web interface
if htmlGET and '?unrepeat=' in self.path:
pageNumber=1