Set publish icon state after theme change

main
Bob Mottram 2020-10-24 17:43:58 +01:00
parent 36666db02d
commit b2dd7e890b
1 changed files with 6 additions and 0 deletions

View File

@ -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 = \