mirror of https://gitlab.com/bashrc2/epicyon
Use variable
parent
1d06970320
commit
ee5682a728
12
daemon.py
12
daemon.py
|
@ -2351,7 +2351,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.path, \
|
||||
self.server.httpPrefix, \
|
||||
maxPostsInFeed, 'inbox', \
|
||||
True,self.server.ocapAlways)
|
||||
authorized,self.server.ocapAlways)
|
||||
if inboxFeed:
|
||||
if self._requestHTTP():
|
||||
nickname=self.path.replace('/users/','').replace('/inbox','')
|
||||
|
@ -2372,7 +2372,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.path+'?page=1', \
|
||||
self.server.httpPrefix, \
|
||||
maxPostsInFeed, 'inbox', \
|
||||
True,self.server.ocapAlways)
|
||||
authorized,self.server.ocapAlways)
|
||||
msg=htmlInbox(self.server.translate, \
|
||||
pageNumber,maxPostsInFeed, \
|
||||
self.server.session, \
|
||||
|
@ -2423,7 +2423,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.path, \
|
||||
self.server.httpPrefix, \
|
||||
maxPostsInFeed, 'dm', \
|
||||
True,self.server.ocapAlways)
|
||||
authorized,self.server.ocapAlways)
|
||||
if inboxDMFeed:
|
||||
if self._requestHTTP():
|
||||
nickname=self.path.replace('/users/','').replace('/dm','')
|
||||
|
@ -2444,7 +2444,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.path+'?page=1', \
|
||||
self.server.httpPrefix, \
|
||||
maxPostsInFeed, 'dm', \
|
||||
True,self.server.ocapAlways)
|
||||
authorized,self.server.ocapAlways)
|
||||
msg=htmlInboxDMs(self.server.translate, \
|
||||
pageNumber,maxPostsInFeed, \
|
||||
self.server.session, \
|
||||
|
@ -2684,7 +2684,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.path, \
|
||||
self.server.httpPrefix, \
|
||||
maxPostsInFeed, 'tlbookmarks', \
|
||||
True,self.server.ocapAlways)
|
||||
authorized,self.server.ocapAlways)
|
||||
if bookmarksFeed:
|
||||
if self._requestHTTP():
|
||||
nickname=self.path.replace('/users/','').replace('/tlbookmarks','')
|
||||
|
@ -2706,7 +2706,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.path+'?page=1', \
|
||||
self.server.httpPrefix, \
|
||||
maxPostsInFeed, 'tlbookmarks', \
|
||||
True,self.server.ocapAlways)
|
||||
authorized,self.server.ocapAlways)
|
||||
msg=htmlBookmarks(self.server.translate, \
|
||||
pageNumber,maxPostsInFeed, \
|
||||
self.server.session, \
|
||||
|
|
Loading…
Reference in New Issue