From f040bdbc385fa5234dc157a0c410e1ee374d2376 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 10 Nov 2020 20:44:38 +0000 Subject: [PATCH] Back to default timeline --- daemon.py | 3 ++- webapp_person_options.py | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/daemon.py b/daemon.py index 6e8765c3..f3ffefb9 100644 --- a/daemon.py +++ b/daemon.py @@ -4708,7 +4708,8 @@ class PubServer(BaseHTTPRequestHandler): emailAddress = getEmailAddress(actorJson) PGPpubKey = getPGPpubKey(actorJson) PGPfingerprint = getPGPfingerprint(actorJson) - msg = htmlPersonOptions(self.server.cssCache, + msg = htmlPersonOptions(self.server.defaultTimeline, + self.server.cssCache, self.server.translate, baseDir, domain, domainFull, diff --git a/webapp_person_options.py b/webapp_person_options.py index 80bae077..c6cb8df0 100644 --- a/webapp_person_options.py +++ b/webapp_person_options.py @@ -21,7 +21,8 @@ from webapp_utils import htmlHeader from webapp_utils import htmlFooter -def htmlPersonOptions(cssCache: {}, translate: {}, baseDir: str, +def htmlPersonOptions(defaultTimeline: str, + cssCache: {}, translate: {}, baseDir: str, domain: str, domainFull: str, originPathStr: str, optionsActor: str, @@ -204,7 +205,7 @@ def htmlPersonOptions(cssCache: {}, translate: {}, baseDir: str, optionsStr += optionsLinkStr backPath = '/' if nickname: - backPath = '/users/' + nickname + backPath = '/users/' + nickname + '/' + defaultTimeline optionsStr += \ '