Don't show bookmarks to unauthorized users

merge-requests/6/head
Bob Mottram 2019-11-17 16:51:54 +00:00
parent 2d5eafa533
commit 1d06970320
1 changed files with 2 additions and 0 deletions

View File

@ -2237,6 +2237,8 @@ def createBoxBase(session,baseDir: str,boxname: str, \
p['replies']={}
if p['object'].get('shares'):
p['shares']={}
if p['object'].get('bookmarks'):
p['bookmarks']={}
# insert it into the box feed
if postsOnPageCtr < itemsPerPage:
if not headerOnly: