No shared inbox directory for bookmarks

merge-requests/6/head
Bob Mottram 2019-11-17 15:14:06 +00:00
parent 85d1047fd1
commit 18c2867490
1 changed files with 3 additions and 1 deletions

View File

@ -2066,15 +2066,17 @@ def createBoxBase(session,baseDir: str,boxname: str, \
boxname!='tlreplies' and boxname!='tlmedia' and \
boxname!='outbox' and boxname!='tlbookmarks':
return None
if boxname!='dm' and boxname!='tlreplies' and \
boxname!='tlmedia' and boxname!='tlbookmarks':
boxDir = createPersonDir(nickname,domain,baseDir,boxname)
else:
# extract DMs or replies or media from the inbox
boxDir = createPersonDir(nickname,domain,baseDir,'inbox')
sharedBoxDir=None
if boxname=='inbox' or boxname=='tlreplies' or \
boxname=='tlmedia' or boxname=='tlbookmarks':
boxname=='tlmedia':
sharedBoxDir = createPersonDir('inbox',domain,baseDir,boxname)
# bookmarks timeline is like the inbox but has its own separate index