From c428697799aea807e974617b2c28d28c5b6ac26d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 4 Jan 2024 15:27:27 +0000 Subject: [PATCH] pin to profile --- daemon.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/daemon.py b/daemon.py index 538735e5b..0aff475b6 100644 --- a/daemon.py +++ b/daemon.py @@ -22871,6 +22871,9 @@ class PubServer(BaseHTTPRequestHandler): nickname, self.server.domain_full, self.server.person_cache) + city = get_spoofed_city(self.server.city, + self.server.base_dir, + nickname, self.server.domain) msg_str = fields['readingupdatetype'] # TODO reading status message_json = \ @@ -22954,6 +22957,10 @@ class PubServer(BaseHTTPRequestHandler): str(message_json)) if fields['schedulePost']: return 1 + if not fields.get('pinToProfile'): + pin_to_profile = False + else: + pin_to_profile = True if pin_to_profile: sys_language = self.server.system_language content_str = \