Don't apply first post to blogs

main
Bob Mottram 2023-01-02 10:41:42 +00:00
parent bca431c95d
commit e930eb3aaf
2 changed files with 3 additions and 4 deletions

View File

@ -1071,7 +1071,7 @@ def person_box_json(recent_posts_cache: {},
if boxname == 'tlblogs':
return create_blogs_timeline(base_dir, nickname, domain, port,
http_prefix, no_of_items, header_only,
page_number)
page_number, '')
if boxname == 'outbox':
return create_outbox(base_dir, nickname, domain, port,
http_prefix,

View File

@ -3626,12 +3626,11 @@ def create_replies_timeline(recent_posts_cache: {},
def create_blogs_timeline(base_dir: str, nickname: str, domain: str,
port: int, http_prefix: str, items_per_page: int,
header_only: bool, page_number: int,
first_post_id: str) -> {}:
header_only: bool, page_number: int) -> {}:
return _create_box_indexed({}, base_dir, 'tlblogs', nickname,
domain, port, http_prefix,
items_per_page, header_only, True,
0, False, 0, page_number, first_post_id)
0, False, 0, page_number)
def create_features_timeline(base_dir: str,