From 3610dcbda89c82047e0e4dc12d780c27f14c3a2b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 26 Apr 2024 13:19:53 +0100 Subject: [PATCH] Tidying --- daemon_get.py | 4 +++- daemon_get_reactions.py | 11 ++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/daemon_get.py b/daemon_get.py index 293fd2f07..859224933 100644 --- a/daemon_get.py +++ b/daemon_get.py @@ -3691,7 +3691,9 @@ def daemon_http_get(self) -> None: self.server.dogwhistles, self.server.min_images_for_accounts, self.server.buy_sites, - self.server.auto_cw_cache) + self.server.auto_cw_cache, + self.server.account_timezone, + self.server.bold_reading) self.server.getreq_busy = False return diff --git a/daemon_get_reactions.py b/daemon_get_reactions.py index 5064072ef..75959ff41 100644 --- a/daemon_get_reactions.py +++ b/daemon_get_reactions.py @@ -44,7 +44,9 @@ def reaction_picker2(self, calling_domain: str, path: str, dogwhistles: {}, min_images_for_accounts: [], buy_sites: [], - auto_cw_cache: {}) -> None: + auto_cw_cache: {}, + account_timezone: {}, + bold_reading_nicknames: {}) -> None: """Press the emoji reaction picker icon at the bottom of the post """ page_number = 1 @@ -111,12 +113,11 @@ def reaction_picker2(self, calling_domain: str, path: str, return timezone = None - if self.server.account_timezone.get(self.post_to_nickname): - timezone = \ - self.server.account_timezone.get(self.post_to_nickname) + if account_timezone.get(self.post_to_nickname): + timezone = account_timezone.get(self.post_to_nickname) bold_reading = False - if self.server.bold_reading.get(self.post_to_nickname): + if bold_reading_nicknames.get(self.post_to_nickname): bold_reading = True msg = \