From 30dfdf82869f97db8f21c9994b7632095a5553c0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 27 Aug 2022 21:55:16 +0100 Subject: [PATCH] Check users path --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 96779c82f..dc60bc4b3 100644 --- a/daemon.py +++ b/daemon.py @@ -802,7 +802,7 @@ class PubServer(BaseHTTPRequestHandler): calling_domain: str) -> str: """Returns the public key for an account """ - if not has_users_path(path): + if '/users/' not in path: return None nickname = path.split('/users/')[1] if '#' not in nickname: