Don't send with summaryMap, since this breaks json-ld signatures

main
Bob Mottram 2022-01-30 16:25:47 +00:00
parent 152babab4c
commit ee49df6805
1 changed files with 0 additions and 9 deletions

View File

@ -1122,9 +1122,6 @@ def _create_post_s2s(base_dir: str, nickname: str, domain: str, port: int,
'conversation': conversation_id, 'conversation': conversation_id,
'type': post_object_type, 'type': post_object_type,
'summary': summary, 'summary': summary,
'summaryMap': {
system_language: summary
},
'inReplyTo': in_reply_to, 'inReplyTo': in_reply_to,
'published': published, 'published': published,
'url': new_post_url, 'url': new_post_url,
@ -1191,9 +1188,6 @@ def _create_post_c2s(base_dir: str, nickname: str, domain: str, port: int,
'conversation': conversation_id, 'conversation': conversation_id,
'type': post_object_type, 'type': post_object_type,
'summary': summary, 'summary': summary,
'summaryMap': {
system_language: summary
},
'inReplyTo': in_reply_to, 'inReplyTo': in_reply_to,
'published': published, 'published': published,
'url': new_post_url, 'url': new_post_url,
@ -1728,9 +1722,6 @@ def get_pinned_post_as_json(base_dir: str, http_prefix: str,
'replies': {}, 'replies': {},
'sensitive': False, 'sensitive': False,
'summary': None, 'summary': None,
'summaryMap': {
system_language: None
},
'tag': [], 'tag': [],
'to': ['https://www.w3.org/ns/activitystreams#Public'], 'to': ['https://www.w3.org/ns/activitystreams#Public'],
'type': 'Note', 'type': 'Note',