diff --git a/daemon.py b/daemon.py index 8039146d..b90a2541 100644 --- a/daemon.py +++ b/daemon.py @@ -9520,6 +9520,7 @@ class PubServer(BaseHTTPRequestHandler): showPublishAsIcon = self.server.showPublishAsIcon rssIconAtTop = self.server.rssIconAtTop iconsAsButtons = self.server.iconsAsButtons + defaultTimeline = self.server.defaultTimeline msg = htmlNewswireMobile(self.server.cssCache, self.server.baseDir, nickname, @@ -9533,7 +9534,8 @@ class PubServer(BaseHTTPRequestHandler): showPublishAsIcon, authorized, rssIconAtTop, - iconsAsButtons).encode('utf-8') + iconsAsButtons, + defaultTimeline).encode('utf-8') self._set_headers('text/html', len(msg), cookie, callingDomain) self._write(msg) @@ -9554,6 +9556,7 @@ class PubServer(BaseHTTPRequestHandler): timelinePath = \ '/users/' + nickname + '/' + self.server.defaultTimeline iconsAsButtons = self.server.iconsAsButtons + defaultTimeline = self.server.defaultTimeline msg = htmlLinksMobile(self.server.cssCache, self.server.baseDir, nickname, self.server.domainFull, @@ -9562,7 +9565,8 @@ class PubServer(BaseHTTPRequestHandler): timelinePath, authorized, self.server.rssIconAtTop, - iconsAsButtons).encode('utf-8') + iconsAsButtons, + defaultTimeline).encode('utf-8') self._set_headers('text/html', len(msg), cookie, callingDomain) self._write(msg) self.server.GETbusy = False diff --git a/webinterface.py b/webinterface.py index 47f6e903..a1748940 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5915,7 +5915,8 @@ def htmlLinksMobile(cssCache: {}, baseDir: str, httpPrefix: str, translate, timelinePath: str, authorized: bool, rssIconAtTop: bool, - iconsAsButtons: bool) -> str: + iconsAsButtons: bool, + defaultTimeline: str) -> str: """Show the left column links within mobile view """ htmlStr = '' @@ -5942,7 +5943,7 @@ def htmlLinksMobile(cssCache: {}, baseDir: str, htmlStr = htmlHeader(cssFilename, profileStyle) htmlStr += \ - '' + \ + '' + \ '\n' @@ -5969,7 +5970,8 @@ def htmlNewswireMobile(cssCache: {}, baseDir: str, nickname: str, showPublishAsIcon: bool, authorized: bool, rssIconAtTop: bool, - iconsAsButtons: bool) -> str: + iconsAsButtons: bool, + defaultTimeline: str) -> str: """Shows the mobile version of the newswire right column """ htmlStr = '' @@ -6003,7 +6005,7 @@ def htmlNewswireMobile(cssCache: {}, baseDir: str, nickname: str, htmlStr = htmlHeader(cssFilename, profileStyle) htmlStr += \ - '' + \ + '' + \ '\n'