[frontend/components] Don't allow pasting a quote if a quote is already attached
This commit is contained in:
parent
dad0f3deed
commit
fb7040e3e3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue