Not inbox

merge-requests/6/head
Bob Mottram 2019-11-17 14:27:55 +00:00
parent e950d338d1
commit ecb0b3b419
2 changed files with 3 additions and 3 deletions

View File

@ -2687,7 +2687,7 @@ class PubServer(BaseHTTPRequestHandler):
True,self.server.ocapAlways)
if bookmarksFeed:
if self._requestHTTP():
nickname=self.path.replace('/users/','').replace('/inbox','')
nickname=self.path.replace('/users/','').replace('/tlbookmarks','')
pageNumber=1
if '?page=' in nickname:
pageNumber=nickname.split('?page=')[1]
@ -2732,7 +2732,7 @@ class PubServer(BaseHTTPRequestHandler):
return
else:
if self.server.debug:
nickname=self.path.replace('/users/','').replace('/inbox','')
nickname=self.path.replace('/users/','').replace('/tlbookmarks','')
print('DEBUG: '+nickname+ \
' was not authorized to access '+self.path)
if self.server.debug:

View File

@ -2354,7 +2354,7 @@ def htmlTimeline(translate: {},pageNumber: int, \
manuallyApproveFollowers: bool) -> str:
"""Show the timeline as html
"""
accountDir=baseDir+'/accounts/'+nickname+'@'+domain
accountDir=baseDir+'/accounts/'+nickname+'@'+domain
# should the calendar icon be highlighted?
calendarImage='calendar.png'