forked from indymedia/epicyon
Simplify
parent
f6a52ebb91
commit
a87072e130
13
posts.py
13
posts.py
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue