Additional search pattern

master
Bob Mottram 2019-08-21 17:15:35 +01:00
parent 965f78fdbf
commit c7f6e888e6
1 changed files with 1 additions and 1 deletions

View File

@ -1699,7 +1699,7 @@ def htmlProfileAfterSearch(baseDir: str,path: str,httpPrefix: str, \
debug: bool,projectVersion: str) -> str:
"""Show a profile page after a search for a fediverse address
"""
if '/users/' in profileHandle:
if '/users/' in profileHandle or '/@' in profileHandle:
searchNickname=getNicknameFromActor(profileHandle)
searchDomain,searchPort=getDomainFromActor(profileHandle)
else: