main
Bob Mottram 2024-04-23 12:55:45 +01:00
parent 7fe58a2af2
commit ae8f845d08
2 changed files with 16 additions and 8 deletions

View File

@ -4998,7 +4998,9 @@ def daemon_http_get(self) -> None:
self.server.buy_sites,
self.server.no_of_books,
self.server.auto_cw_cache,
self.server.fitness):
self.server.fitness,
self.server.onion_domain,
self.server.i2p_domain):
self.server.getreq_busy = False
return
@ -5052,7 +5054,9 @@ def daemon_http_get(self) -> None:
self.server.buy_sites,
self.server.no_of_books,
self.server.auto_cw_cache,
self.server.fitness):
self.server.fitness,
self.server.onion_domain,
self.server.i2p_domain):
self.server.getreq_busy = False
return

View File

@ -246,7 +246,9 @@ def show_following_feed(self, authorized: bool,
buy_sites: [],
no_of_books: int,
auto_cw_cache: {},
fitness: {}) -> bool:
fitness: {},
onion_domain: str,
i2p_domain: str) -> bool:
"""Shows the following feed for a particular account/actor
"""
following = \
@ -376,8 +378,8 @@ def show_following_feed(self, authorized: bool,
referer_domain,
msg_str, http_prefix,
domain,
self.server.onion_domain,
self.server.i2p_domain)
onion_domain,
i2p_domain)
msg = msg_str.encode('utf-8')
msglen = len(msg)
accept_str = self.headers['Accept']
@ -436,7 +438,9 @@ def show_moved_feed(self, authorized: bool,
buy_sites: [],
no_of_books: int,
auto_cw_cache: {},
fitness: {}) -> bool:
fitness: {},
onion_domain: str,
i2p_domain: str) -> bool:
"""Shows the moved feed for a particular account/actor
"""
following = \
@ -552,8 +556,8 @@ def show_moved_feed(self, authorized: bool,
referer_domain,
msg_str, http_prefix,
domain,
self.server.onion_domain,
self.server.i2p_domain)
onion_domain,
i2p_domain)
msg = msg_str.encode('utf-8')
msglen = len(msg)
accept_str = self.headers['Accept']