diff --git a/daemon.py b/daemon.py index 660e9f0ce..117c28ab9 100644 --- a/daemon.py +++ b/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, \