Update default categories

main
Bob Mottram 2023-04-28 18:44:35 +01:00
parent ec821c7742
commit 0ae7f614d9
2 changed files with 276 additions and 276 deletions

File diff suppressed because one or more lines are too long

View File

@ -3768,7 +3768,7 @@ def _bounce_dm(sender_post_id: str, session, http_prefix: str,
translate: {}, debug: bool,
last_bounce_message: [], system_language: str,
signing_priv_key_pem: str,
content_license_url: str,
dm_license_url: str,
languages_understood: [],
bounce_is_chat: bool,
curr_domain: str, onion_domain: str, i2p_domain: str) -> bool:
@ -3832,8 +3832,8 @@ def _bounce_dm(sender_post_id: str, session, http_prefix: str,
subject, debug, schedule_post,
event_date, event_time, event_end_time,
location, system_language, conversation_id,
low_bandwidth, content_license_url,
content_license_url, '',
low_bandwidth, dm_license_url,
dm_license_url, '',
languages_understood, bounce_is_chat,
translate, buy_url)
if not post_json_object:
@ -3865,7 +3865,7 @@ def _is_valid_dm(base_dir: str, nickname: str, domain: str, port: int,
last_bounce_message: [],
handle: str, system_language: str,
signing_priv_key_pem: str,
content_license_url: str,
dm_license_url: str,
languages_understood: [],
curr_domain: str, onion_domain: str, i2p_domain: str) -> bool:
"""Is the given message a valid DM?
@ -3967,7 +3967,7 @@ def _is_valid_dm(base_dir: str, nickname: str, domain: str, port: int,
last_bounce_message,
system_language,
signing_priv_key_pem,
content_license_url,
dm_license_url,
languages_understood,
bounce_chat,
curr_domain,
@ -4234,7 +4234,7 @@ def _inbox_after_initial(server, inbox_start_time,
signing_priv_key_pem: str,
default_reply_interval_hrs: int,
cw_lists: {}, lists_enabled: str,
content_license_url: str,
dm_license_url: str,
languages_understood: [],
mitm: bool, bold_reading: bool,
dogwhistles: {},
@ -4666,7 +4666,7 @@ def _inbox_after_initial(server, inbox_start_time,
last_bounce_message,
handle, system_language,
signing_priv_key_pem,
content_license_url,
dm_license_url,
languages_understood,
domain,
onion_domain, i2p_domain):
@ -6054,7 +6054,7 @@ def run_inbox_queue(server,
inbox_start_time = time.time()
lists_enabled = get_config_param(base_dir, "listsEnabled")
content_license_url = get_config_param(base_dir, "contentLicenseUrl")
dm_license_url = ''
fitness_performance(inbox_start_time, server.fitness,
'INBOX', 'distribute_post',
@ -6102,7 +6102,7 @@ def run_inbox_queue(server,
signing_priv_key_pem,
default_reply_interval_hrs,
cw_lists, lists_enabled,
content_license_url,
dm_license_url,
languages_understood, mitm,
bold_reading, dogwhistles,
max_hashtags, server.buy_sites)