Quote limits for replies only

This commit is contained in:
M66B
2020-11-14 10:19:15 +01:00
parent 4c010c09d9
commit a08ba39601

View File

@@ -3839,7 +3839,8 @@ public class FragmentCompose extends FragmentBase {
// Limit number of nested block quotes
boolean quote_limit = prefs.getBoolean("quote_limit", true);
if (quote_limit)
if (quote_limit &&
("reply".equals(action) || "reply_all".equals(action)))
for (Element bq : e.select("blockquote")) {
int level = 1;
Element parent = bq.parent();