main
Bob Mottram 2024-04-23 15:51:37 +01:00
parent 302b030066
commit de66a8915d
2 changed files with 5 additions and 3 deletions

View File

@ -3877,7 +3877,8 @@ def daemon_http_get(self) -> None:
self.server.fitness,
self.server.account_timezone,
self.server.bold_reading,
self.server.min_images_for_accounts)
self.server.min_images_for_accounts,
self.server.default_timeline)
self.server.getreq_busy = False
return

View File

@ -2402,7 +2402,8 @@ def mute_button_undo(self, calling_domain: str, path: str,
fitness: {},
account_timezone: {},
bold_reading_nicknames: {},
min_images_for_accounts: []) -> None:
min_images_for_accounts: [],
default_timeline: str) -> None:
"""Undo mute button is pressed
"""
mute_url = path.split('?unmute=')[1]
@ -2421,7 +2422,7 @@ def mute_button_undo(self, calling_domain: str, path: str,
if '?' in timeline_bookmark:
timeline_bookmark = timeline_bookmark.split('?')[0]
timeline_bookmark = '#' + timeline_bookmark
timeline_str = self.server.default_timeline
timeline_str = default_timeline
if '?tl=' in path:
timeline_str = path.split('?tl=')[1]
if '?' in timeline_str: