fix: Limit upload of fediverse images to 6

This commit is contained in:
2025-08-11 12:43:15 +02:00
parent 93b21fb7d0
commit 1434e7502a
2 changed files with 8 additions and 1 deletions

View File

@@ -877,6 +877,7 @@ def moderation_tools_overview(request):
if action == "post_to_fedi":
adoption_notice = SocialMediaPost.get_an_to_post()
if adoption_notice is not None:
logging.info(f"Posting adoption notice: {adoption_notice} ({adoption_notice.id})")
try:
post = post_an_to_fedi(adoption_notice)
context = {"action_was_posting": True, "post": post, "posted_successfully": True}