mirror of https://gitlab.com/bashrc2/epicyon
Alternative actor representations
parent
1500e8e02e
commit
93e4ab9337
15
daemon.py
15
daemon.py
|
@ -1456,6 +1456,21 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
elif moderationStr.startswith('submitInfo'):
|
||||
searchHandle = moderationText
|
||||
if searchHandle:
|
||||
if '/@' in searchHandle:
|
||||
searchNickname = \
|
||||
getNicknameFromActor(searchHandle)
|
||||
searchDomain, searchPort = \
|
||||
getDomainFromActor(searchHandle)
|
||||
searchHandle = \
|
||||
searchNickname + '@' + searchDomain
|
||||
if '@' not in searchHandle:
|
||||
if searchHandle.startswith('http'):
|
||||
searchNickname = \
|
||||
getNicknameFromActor(searchHandle)
|
||||
searchDomain, searchPort = \
|
||||
getDomainFromActor(searchHandle)
|
||||
searchHandle = \
|
||||
searchNickname + '@' + searchDomain
|
||||
if '@' not in searchHandle:
|
||||
# is this a local nickname on this instance?
|
||||
localHandle = \
|
||||
|
|
Loading…
Reference in New Issue