mirror of https://gitlab.com/bashrc2/epicyon
Don't send with summaryMap, since this breaks json-ld signatures
parent
152babab4c
commit
ee49df6805
9
posts.py
9
posts.py
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue