Fix AP terminology for creating new posts #419

This commit is contained in:
freamon 2025-01-11 18:48:56 +00:00
parent f0239724c7
commit f3bdb9b9b0

View file

@ -645,8 +645,8 @@ def add_post(actor, type):
'object': { 'object': {
'name': form.title.data, 'name': form.title.data,
'type': 'Page', 'type': 'Page',
'sticky': form.sticky.data, 'stickied': form.sticky.data,
'nsfw': form.nsfw.data, 'sensitive': form.nsfw.data,
'nsfl': form.nsfl.data, 'nsfl': form.nsfl.data,
'id': gibberish(), # this will be updated once we have the post.id 'id': gibberish(), # this will be updated once we have the post.id
'mediaType': 'text/markdown', 'mediaType': 'text/markdown',