minor change when sharing
This commit is contained in:
parent
f5124759ee
commit
95bc47dc5b
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ def comment(request, item_uuid, focus_item_uuid):
|
|||
shared_link = comment.metadata.get("shared_link") if comment else None
|
||||
status_id = get_status_id_by_url(shared_link)
|
||||
link = focus_item.get_absolute_url_with_position(position or None)
|
||||
status = f"分享{ItemCategory(item.category).label}《{item.title}》的《{focus_item.title}》\n{link}\n\n{text}"
|
||||
status = f"分享{ItemCategory(item.category).label}《{item.title} - {focus_item.title}》\n{link}\n\n{text}"
|
||||
spoiler, status = get_spoiler_text(status, item)
|
||||
try:
|
||||
response = post_toot(
|
||||
|
|
Loading…
Add table
Reference in a new issue