Don't check for http

merge-requests/8/head
Bob Mottram 2020-08-05 13:07:00 +01:00
parent a5bcf1a356
commit b554256a1f
1 changed files with 1 additions and 1 deletions

View File

@ -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: