From 5c350d167172ceb7011a8f00da76df20ab6f2365 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 28 Sep 2020 14:23:38 +0100 Subject: [PATCH] Full actor path --- daemon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index cc18ba52d..cfda4e523 100644 --- a/daemon.py +++ b/daemon.py @@ -9126,7 +9126,8 @@ class PubServer(BaseHTTPRequestHandler): if '/' in nickname: nickname = nickname.split('/')[0] usersPath = '/users/' + nickname - actorStr = path.split('/users/')[0] + usersPath + actorStr = self.server.httpPrefix + '://' + self.server.domainFull + \ + path.split('/users/')[0] + usersPath if callingDomain.endswith('.onion') and self.server.onionDomain: actorStr = 'http://' + self.server.onionDomain + usersPath elif (callingDomain.endswith('.i2p') and self.server.i2pDomain):