forked from indymedia/epicyon
Create session
parent
71bd312aa3
commit
d7d46bdbee
|
@ -756,6 +756,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
followerDomain,FollowerPort=getDomainFromActor(originPathStr)
|
followerDomain,FollowerPort=getDomainFromActor(originPathStr)
|
||||||
followingHandle=self.path.split('/followapprove=')[1]
|
followingHandle=self.path.split('/followapprove=')[1]
|
||||||
if '@' in followingHandle:
|
if '@' in followingHandle:
|
||||||
|
if not self.server.session:
|
||||||
|
self.server.session= \
|
||||||
|
createSession(self.server.domain,self.server.port,self.server.useTor)
|
||||||
manualApproveFollowRequest(self.server.session, \
|
manualApproveFollowRequest(self.server.session, \
|
||||||
self.server.baseDir, \
|
self.server.baseDir, \
|
||||||
self.server.httpPrefix, \
|
self.server.httpPrefix, \
|
||||||
|
|
Loading…
Reference in New Issue