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, nickname,
self.server.domain_full, self.server.domain_full,
self.server.person_cache) self.server.person_cache)
city = get_spoofed_city(self.server.city,
self.server.base_dir,
nickname, self.server.domain)
msg_str = fields['readingupdatetype'] msg_str = fields['readingupdatetype']
# TODO reading status # TODO reading status
message_json = \ message_json = \
@ -22954,6 +22957,10 @@ class PubServer(BaseHTTPRequestHandler):
str(message_json)) str(message_json))
if fields['schedulePost']: if fields['schedulePost']:
return 1 return 1
if not fields.get('pinToProfile'):
pin_to_profile = False
else:
pin_to_profile = True
if pin_to_profile: if pin_to_profile:
sys_language = self.server.system_language sys_language = self.server.system_language
content_str = \ content_str = \