diff --git a/webinterface.py b/webinterface.py index 910506c5..a5071349 100644 --- a/webinterface.py +++ b/webinterface.py @@ -946,6 +946,12 @@ def rssHashtagSearch(nickname: str, domain: str, port: int, '' hashtagFeed += \ ' ' + rssDateStr + '' + if postJsonObject['object'].get('attachment'): + for attach in postJsonObject['object']['attachment']: + if not attach.get('url'): + continue + hashtagFeed += \ + ' ' + attach['url'] + '' hashtagFeed += ' ' index += 1 if index >= maxFeedLength: