main
Bob Mottram 2022-05-31 13:41:29 +01:00
parent ed656b4cbc
commit 8891c743c9
2 changed files with 2 additions and 3 deletions

View File

@ -18928,8 +18928,7 @@ class PubServer(BaseHTTPRequestHandler):
sys_language)
followers_only = False
pin_post(self.server.base_dir,
nickname, self.server.domain, content_str,
followers_only)
nickname, self.server.domain, content_str)
return 1
if self._post_to_outbox(message_json,
self.server.project_version,

View File

@ -1703,7 +1703,7 @@ def _post_is_addressed_to_followers(nickname: str, domain: str, port: int,
def pin_post(base_dir: str, nickname: str, domain: str,
pinned_content: str, followers_only: bool) -> None:
pinned_content: str) -> None:
"""Pins the given post Id to the profile of then given account
"""
account_dir = acct_dir(base_dir, nickname, domain)