From a5af67c669899d4a283445132444db1ebaf99066 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Tue, 14 Jul 2020 22:37:06 +0100
Subject: [PATCH] Pass path instead of actor

---
 daemon.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/daemon.py b/daemon.py
index 6c61a179..7b6c8156 100644
--- a/daemon.py
+++ b/daemon.py
@@ -7808,7 +7808,7 @@ class PubServer(BaseHTTPRequestHandler):
                 msg = \
                     htmlUnfollowConfirm(self.server.translate,
                                         self.server.baseDir,
-                                        originPathStr,
+                                        usersPath,
                                         optionsActor,
                                         optionsAvatarUrl).encode('utf-8')
                 self._set_headers('text/html', len(msg),
@@ -7980,7 +7980,6 @@ class PubServer(BaseHTTPRequestHandler):
         if not (self.path.endswith('/outbox') or
                 self.path.endswith('/inbox') or
                 self.path.endswith('/shares') or
-                self.path.endswith('/unfollowconfirm') or
                 self.path.endswith('/moderationaction') or
                 self.path.endswith('/caps/new') or
                 self.path == '/sharedInbox'):