main
Bob Mottram 2020-05-21 23:02:27 +01:00
parent f6a52ebb91
commit a87072e130
1 changed files with 3 additions and 10 deletions

View File

@ -2490,16 +2490,9 @@ def createBoxIndexed(recentPostsCache: {},
# bookmarks timeline is like the inbox but has its own separate index # bookmarks timeline is like the inbox but has its own separate index
indexBoxName = boxname indexBoxName = boxname
boxes = { if boxname == "tlbookmarks":
"tlbookmarks": "bookmarks", boxname = "bookmarks"
"dm": "dm", indexBoxName = boxname
"tlreplies": "tlreplies",
"tlmedia": "tlmedia",
"tlblogs": "tlblogs"
}
if boxes.get(boxname):
indexBoxName = boxes[boxname]
boxname = boxes[boxname]
if port: if port:
if port != 80 and port != 443: if port != 80 and port != 443: