mirror of https://gitlab.com/bashrc2/epicyon
Return to default timeline
parent
1fad4becc1
commit
5cbbf864b0
|
@ -8352,7 +8352,8 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.maxLikeCount,
|
||||
self.server.signingPrivateKeyPem,
|
||||
self.server.CWlists,
|
||||
self.server.listsEnabled)
|
||||
self.server.listsEnabled,
|
||||
self.server.defaultTimeline)
|
||||
msg = msg.encode('utf-8')
|
||||
msglen = len(msg)
|
||||
self._set_headers('text/html', msglen,
|
||||
|
|
|
@ -2195,7 +2195,8 @@ def htmlEmojiReactionPicker(cssCache: {},
|
|||
allowLocalNetworkAccess: bool,
|
||||
themeName: str, systemLanguage: str,
|
||||
maxLikeCount: int, signingPrivateKeyPem: str,
|
||||
CWlists: {}, listsEnabled: str) -> str:
|
||||
CWlists: {}, listsEnabled: str,
|
||||
defaultTimeline: str) -> str:
|
||||
"""Returns the emoji picker screen
|
||||
"""
|
||||
reactedToPostStr = \
|
||||
|
@ -2255,7 +2256,7 @@ def htmlEmojiReactionPicker(cssCache: {},
|
|||
# banner
|
||||
headerStr += \
|
||||
'<header>\n' + \
|
||||
'<a href="/users/' + nickname + '/inbox" title="' + \
|
||||
'<a href="/users/' + nickname + '/' + defaultTimeline + '" title="' + \
|
||||
translate['Switch to timeline view'] + '" alt="' + \
|
||||
translate['Switch to timeline view'] + '">\n'
|
||||
headerStr += '<img loading="lazy" class="timeline-banner" ' + \
|
||||
|
|
Loading…
Reference in New Issue