Add id to create

merge-requests/30/head
Bob Mottram 2021-10-27 14:10:47 +01:00
parent a19d5a5865
commit cfa09310a0
1 changed files with 3 additions and 0 deletions

View File

@ -293,6 +293,8 @@ def htmlProfileAfterSearch(cssCache: {},
continue continue
if not item.get('to'): if not item.get('to'):
continue continue
if not item.get('id'):
continue
# wrap in create # wrap in create
cc = [] cc = []
if item.get('cc'): if item.get('cc'):
@ -301,6 +303,7 @@ def htmlProfileAfterSearch(cssCache: {},
'object': item, 'object': item,
'to': item['to'], 'to': item['to'],
'cc': cc, 'cc': cc,
'id': item['id'],
'actor': personUrl, 'actor': personUrl,
'type': 'Create' 'type': 'Create'
} }