[frontend/components] Don't allow pasting a quote if a quote is already attached

This commit is contained in:
pancakes 2025-03-21 21:13:44 +10:00
parent dad0f3deed
commit fb7040e3e3
No known key found for this signature in database

View file

@ -521,7 +521,7 @@
{ {
PastedText = (pastedText, ""); PastedText = (pastedText, "");
if (!new Url(pastedText).IsAbsolute) if (NoteDraft.RenoteId != null || AttachedQuote != null || !new Url(pastedText).IsAbsolute)
{ {
await InsertPastedText(); await InsertPastedText();
return; return;