mirror of https://gitlab.com/bashrc2/epicyon
Info for local nicknames
parent
b0e0bdbd69
commit
fc8932f627
|
@ -1448,6 +1448,13 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
searchHandle = moderationText
|
||||
if searchHandle:
|
||||
if '@' not in searchHandle:
|
||||
# is this a local nickname on this instance?
|
||||
localHandle = \
|
||||
searchHandle + '@' + self.server.domain
|
||||
if os.path.isdir(self.server.baseDir +
|
||||
'/accounts/' + localHandle):
|
||||
searchHandle = localHandle
|
||||
else:
|
||||
searchHandle = None
|
||||
if searchHandle:
|
||||
msg = \
|
||||
|
|
Loading…
Reference in New Issue