Allow unauthorized conversation view (under limited conditions)

main
Bob Mottram 2023-03-01 14:50:24 +00:00
parent f076bf3d05
commit 0bcba49d0e
1 changed files with 0 additions and 2 deletions

View File

@ -12306,8 +12306,6 @@ class PubServer(BaseHTTPRequestHandler):
cookie: str) -> bool: cookie: str) -> bool:
"""get conversation thread from the date link on a post """get conversation thread from the date link on a post
""" """
if not authorized:
return False
if not path.startswith('/users/'): if not path.startswith('/users/'):
return False return False
if '?convthread=' not in path: if '?convthread=' not in path: