forked from indymedia/epicyon
Additional handle search
parent
ec9941d7ca
commit
c77317d87f
|
@ -7232,7 +7232,12 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self._write(msg)
|
self._write(msg)
|
||||||
self.server.POSTbusy = False
|
self.server.POSTbusy = False
|
||||||
return
|
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
|
# profile search
|
||||||
nickname = getNicknameFromActor(actorStr)
|
nickname = getNicknameFromActor(actorStr)
|
||||||
if not self.server.session:
|
if not self.server.session:
|
||||||
|
|
Loading…
Reference in New Issue