Don't check for http

main
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 # list of registered devices for e2ee
# see https://github.com/tootsuite/mastodon/pull/13820 # 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'): if self.path.endswith('/collections/devices'):
nickname = self.path.split('/users/') nickname = self.path.split('/users/')
if '/' in nickname: if '/' in nickname: