Show announces in profile preview

merge-requests/30/head
Bob Mottram 2021-09-12 22:49:44 +01:00
parent c5ec736ed8
commit b955013011
1 changed files with 4 additions and 3 deletions

View File

@ -271,10 +271,11 @@ def htmlProfileAfterSearch(cssCache: {},
continue continue
if not item.get('type'): if not item.get('type'):
continue continue
if item['type'] != 'Create': if item['type'] == 'Create':
continue
if not hasObjectDict(item): if not hasObjectDict(item):
continue continue
if item['type'] != 'Create' and item['type'] != 'Announce':
continue
profileStr += \ profileStr += \
individualPostAsHtml(signingPrivateKeyPem, individualPostAsHtml(signingPrivateKeyPem,