Allow multiline post in Mastodon (#157647)

This commit is contained in:
Andrew Jackson
2025-12-01 17:35:59 +00:00
committed by GitHub
parent e8acced335
commit 39f76787ab
2 changed files with 6 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ post:
required: true
selector:
text:
multiline: true
visibility:
selector:
select:

View File

@@ -118,9 +118,12 @@ from tests.common import MockConfigEntry
},
),
(
{ATTR_STATUS: "test toot", ATTR_IDEMPOTENCY_KEY: "post_once_only"},
{
"status": "test toot",
ATTR_STATUS: "test toot\nwith idempotency",
ATTR_IDEMPOTENCY_KEY: "post_once_only",
},
{
"status": "test toot\nwith idempotency",
"idempotency_key": "post_once_only",
"language": None,
"spoiler_text": None,