From b9550130116ee36904464dad14b0d44ba2c4618a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 12 Sep 2021 22:49:44 +0100 Subject: [PATCH] Show announces in profile preview --- webapp_profile.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webapp_profile.py b/webapp_profile.py index f44bb1aed..46ce403a3 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -271,9 +271,10 @@ def htmlProfileAfterSearch(cssCache: {}, continue if not item.get('type'): continue - if item['type'] != 'Create': - continue - if not hasObjectDict(item): + if item['type'] == 'Create': + if not hasObjectDict(item): + continue + if item['type'] != 'Create' and item['type'] != 'Announce': continue profileStr += \