summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>2024-07-30 17:23:29 +0900
committerGitHub <noreply@github.com>2024-07-30 17:23:29 +0900
commitf965f65dcd03fe93042d90a25fb3ad54b07baf4f (patch)
tree03e63ac09927fff5b38b3fd4199c5ae997131e78
parentenhance(frontend): 連合の「連合中」,「購読中」,「配信中」... (diff)
downloadsharkey-f965f65dcd03fe93042d90a25fb3ad54b07baf4f.tar.gz
sharkey-f965f65dcd03fe93042d90a25fb3ad54b07baf4f.tar.bz2
sharkey-f965f65dcd03fe93042d90a25fb3ad54b07baf4f.zip
fix(frontend): pure renote cannot create with url based quote (#14270)
* fix(frontend): pure renote cannot create with url based quote * docs(changelog): update changelog
-rw-r--r--CHANGELOG.md1
-rw-r--r--packages/frontend/src/components/MkPostForm.vue2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 527c0e0b6b..0d7f50519a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -55,6 +55,7 @@
- Fix: ダイレクト投稿の"削除して編集"において、宛先が保持されていなかった問題を修正
- Fix: 投稿フォームへのURL貼り付けによる引用が下書きに保存されていなかった問題を修正
- Fix: "削除して編集"や下書きにおいて、リアクションの受け入れ設定が保持/保存されていなかった問題を修正
+- Fix: 投稿フォームにノートのURLを貼り付けて"引用として添付"した場合、投稿文を空にすることによるRenote化が出来なかった問題を修正
### Server
- Feat: レートリミット制限に引っかかったときに`Retry-After`ヘッダーを返すように (#13949)
diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue
index 64ad60ae85..fa3e2b90b0 100644
--- a/packages/frontend/src/components/MkPostForm.vue
+++ b/packages/frontend/src/components/MkPostForm.vue
@@ -259,7 +259,7 @@ const canPost = computed((): boolean => {
1 <= files.value.length ||
poll.value != null ||
props.renote != null ||
- (props.reply != null && quoteId.value != null)
+ quoteId.value != null
) &&
(textLength.value <= maxTextLength.value) &&
(!poll.value || poll.value.choices.length >= 2);