From 9142041f67487f372fc2b3c8d09215e1571cf5cf Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 26 Nov 2022 11:38:40 +0000 Subject: [PATCH] Max posts number --- daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index 40fa5de2d..c5ae60165 100644 --- a/daemon.py +++ b/daemon.py @@ -6518,7 +6518,7 @@ class PubServer(BaseHTTPRequestHandler): # set maximum preview posts on profile screen max_profile_posts = \ get_max_profile_posts(base_dir, nickname, domain, - self.server.max_recent_posts) + 20) if fields.get('maxRecentProfilePosts'): if fields['maxRecentProfilePosts'] != \ str(max_profile_posts): @@ -6528,7 +6528,7 @@ class PubServer(BaseHTTPRequestHandler): max_profile_posts) else: set_max_profile_posts(base_dir, nickname, domain, - self.server.max_recent_posts) + 20) # change tox address current_tox_address = get_tox_address(actor_json)