From e97e223ecbf98f4c87a38d39a956de4ac582d9f1 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Mon, 18 Nov 2019 12:02:55 +0000
Subject: [PATCH] Use post content

---
 posts.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/posts.py b/posts.py
index 1ae964e8..baa6f478 100644
--- a/posts.py
+++ b/posts.py
@@ -2296,7 +2296,7 @@ def isTimelinePost(filePath: str,boxname: str,postsInBox: []) -> bool:
                     if 'mediaType' not in postStr or 'image/' not in postStr:
                         return False
             # add the post to the dictionary
-            postsInBox.append(filePath)                    
+            postsInBox.append(postStr)
             return True
     return False
 
@@ -2433,9 +2433,7 @@ def createBoxIndexed(session,baseDir: str,boxname: str, \
                     if p['object'].get('bookmarks'):
                         p['bookmarks']={}
 
-        # insert it into the box feed
-        if not headerOnly:
-            boxItems['orderedItems'].append(p)
+        boxItems['orderedItems'].append(p)
 
     return boxItems