From 955a6f3fe13e0e2783ba529bcb31dcb413d1568b Mon Sep 17 00:00:00 2001 From: Millesimus Date: Sun, 22 Aug 2021 17:45:23 +0200 Subject: [PATCH] Bugfix for 6cc06bcb98acc05c7677c642adf8ded90ffc8372. --- .../java/eu/siacs/conversations/ui/adapter/MessageAdapter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java b/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java index dd0bdc589..0eb8a10fb 100644 --- a/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java +++ b/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java @@ -381,7 +381,6 @@ public class MessageAdapter extends ArrayAdapter { // Line start without quote, apply spans there applyQuoteSpan(body, quoteStart, i - 1, darkBackground); quoteStart = -1; - quoteDepth++; } } } else { @@ -406,8 +405,8 @@ public class MessageAdapter extends ArrayAdapter { if (quoteStart >= 0) { // Apply spans to finishing open quote applyQuoteSpan(body, quoteStart, body.length(), darkBackground); - quoteDepth++; } + quoteDepth++; } return startsWithQuote; }