pin to profile

main
Bob Mottram 2024-01-04 15:27:27 +00:00
parent 12b3b95dfe
commit c428697799
1 changed files with 7 additions and 0 deletions

View File

@ -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 = \