forked from indymedia/epicyon
Only show the first page if not authorized
parent
2fb21da602
commit
a8c177cbd1
3
posts.py
3
posts.py
|
@ -1966,6 +1966,9 @@ def createBoxBase(session,baseDir: str,boxname: str, \
|
||||||
ocapAlways: bool,pageNumber=None) -> {}:
|
ocapAlways: bool,pageNumber=None) -> {}:
|
||||||
"""Constructs the box feed for a person with the given nickname
|
"""Constructs the box feed for a person with the given nickname
|
||||||
"""
|
"""
|
||||||
|
if not authorized:
|
||||||
|
pageNumber=1
|
||||||
|
|
||||||
if boxname!='inbox' and boxname!='dm' and \
|
if boxname!='inbox' and boxname!='dm' and \
|
||||||
boxname!='tlreplies' and boxname!='tlmedia' and boxname!='outbox':
|
boxname!='tlreplies' and boxname!='tlmedia' and boxname!='outbox':
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue