MediaType for content

main
Bob Mottram 2020-05-03 14:39:21 +00:00
parent dc68e2c20b
commit 19812b59ef
1 changed files with 2 additions and 1 deletions

View File

@ -694,7 +694,7 @@ def createPostBase(baseDir: str, nickname: str, domain: str, port: int,
httpPrefix + '://' + domain + '/users/' + nickname + \
'/statuses/' + statusNumber + '/replies'
newPost = {
"@context": postContext,
'@context': postContext,
'id': newPostId+'/activity',
'capability': capabilityIdList,
'type': 'Create',
@ -715,6 +715,7 @@ def createPostBase(baseDir: str, nickname: str, domain: str, port: int,
'sensitive': sensitive,
'atomUri': newPostId,
'inReplyToAtomUri': inReplyToAtomUri,
'mediaType': 'text/html',
'content': content,
'contentMap': {
'en': content