From b554256a1fc676abfaeeabcac23aa95d50e36cf5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 5 Aug 2020 13:07:00 +0100 Subject: [PATCH] Don't check for http --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index a02577f4..f77403c0 100644 --- a/daemon.py +++ b/daemon.py @@ -1539,7 +1539,7 @@ class PubServer(BaseHTTPRequestHandler): # list of registered devices for e2ee # see https://github.com/tootsuite/mastodon/pull/13820 - if not htmlGET and authorized and '/users/' in self.path: + if authorized and '/users/' in self.path: if self.path.endswith('/collections/devices'): nickname = self.path.split('/users/') if '/' in nickname: