forked from indymedia/epicyon
Add path parameters for person options
parent
3b23ae5927
commit
3158c06b18
12
daemon.py
12
daemon.py
|
@ -117,6 +117,7 @@ from blog import htmlBlogView
|
||||||
from blog import htmlBlogPage
|
from blog import htmlBlogPage
|
||||||
from blog import htmlBlogPost
|
from blog import htmlBlogPost
|
||||||
from blog import htmlEditBlog
|
from blog import htmlEditBlog
|
||||||
|
from webapp_utils import getAvatarImageUrl
|
||||||
from webapp_utils import htmlHashtagBlocked
|
from webapp_utils import htmlHashtagBlocked
|
||||||
from webapp_utils import htmlFollowingList
|
from webapp_utils import htmlFollowingList
|
||||||
from webapp_utils import setBlogAddress
|
from webapp_utils import setBlogAddress
|
||||||
|
@ -2576,7 +2577,16 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
# are we already following the searched for handle?
|
# are we already following the searched for handle?
|
||||||
if isFollowingActor(baseDir, nickname, domain,
|
if isFollowingActor(baseDir, nickname, domain,
|
||||||
searchStr):
|
searchStr):
|
||||||
# TODO
|
actor = searchStr
|
||||||
|
avatarUrl = \
|
||||||
|
getAvatarImageUrl(self.server.session,
|
||||||
|
baseDir, httpPrefix,
|
||||||
|
actor,
|
||||||
|
self.server.personCache,
|
||||||
|
None, True)
|
||||||
|
profilePathStr = profilePathStr + \
|
||||||
|
'?options=' + actor + ';1;' + \
|
||||||
|
'/actors/' + avatarUrl.replace('/', '-')
|
||||||
self._showPersonOptions(callingDomain, profilePathStr,
|
self._showPersonOptions(callingDomain, profilePathStr,
|
||||||
baseDir, httpPrefix,
|
baseDir, httpPrefix,
|
||||||
domain, domainFull,
|
domain, domainFull,
|
||||||
|
|
Loading…
Reference in New Issue