From b2dd7e890b9ec823a5130dc320541f149707fdc5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 24 Oct 2020 17:43:58 +0100 Subject: [PATCH] Set publish icon state after theme change --- daemon.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/daemon.py b/daemon.py index d1a8e707..d4203d43 100644 --- a/daemon.py +++ b/daemon.py @@ -3476,6 +3476,9 @@ class PubServer(BaseHTTPRequestHandler): setTheme(baseDir, fields['themeDropdown'], domain) + self.server.showPublishAsIcon = \ + getConfigParam(self.server.baseDir, + 'showPublishAsIcon') setNewsAvatar(baseDir, fields['themeDropdown'], httpPrefix, @@ -3820,6 +3823,9 @@ class PubServer(BaseHTTPRequestHandler): currTheme = getTheme(baseDir) if currTheme: setTheme(baseDir, currTheme, domain) + self.server.showPublishAsIcon = \ + getConfigParam(self.server.baseDir, + 'showPublishAsIcon') # only receive DMs from accounts you follow followDMsFilename = \