Additional handle search

main
Bob Mottram 2020-08-13 17:48:06 +01:00
parent ec9941d7ca
commit c77317d87f
1 changed files with 6 additions and 1 deletions

View File

@ -7232,7 +7232,12 @@ class PubServer(BaseHTTPRequestHandler):
self._write(msg)
self.server.POSTbusy = False
return
elif '@' in searchStr:
elif ('@' in searchStr or
('://' in searchStr and
('/users/' in searchStr or
'/profile/' in searchStr or
'/accounts/' in searchStr or
'/channel/' in searchStr))):
# profile search
nickname = getNicknameFromActor(actorStr)
if not self.server.session: