From 4d36231fa57a9faed345e625a474c807c21272ef Mon Sep 17 00:00:00 2001 From: Millesimus Date: Wed, 8 Sep 2021 16:32:44 +0200 Subject: [PATCH] >.< should be quoteable (bugfix). --- src/main/java/eu/siacs/conversations/ui/util/QuoteHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/ui/util/QuoteHelper.java b/src/main/java/eu/siacs/conversations/ui/util/QuoteHelper.java index 4e4617cab..ac2913037 100644 --- a/src/main/java/eu/siacs/conversations/ui/util/QuoteHelper.java +++ b/src/main/java/eu/siacs/conversations/ui/util/QuoteHelper.java @@ -77,10 +77,10 @@ public class QuoteHelper { } public static boolean isNestedTooDeeply (CharSequence line){ - if (isPositionQuoteCharacter(line, 0)) { + if (isPositionQuoteStart(line, 0)) { int nestingDepth = 1; for (int i = 1; i < line.length(); i++) { - if (isPositionQuoteCharacter(line, i)) { + if (isPositionQuoteStart(line, i)) { nestingDepth++; } if (nestingDepth > (Config.QUOTING_MAX_DEPTH - 1)) {