Added option to separate replies with a line

This commit is contained in:
M66B
2020-10-07 18:01:26 +02:00
parent da88b1f7d6
commit a7d57aadf1
7 changed files with 44 additions and 7 deletions

View File

@@ -495,6 +495,7 @@ public class EntityRule {
reply.id = db.message().insertMessage(reply);
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean separate_reply = prefs.getBoolean("separate_reply", false);
boolean extended_reply = prefs.getBoolean("extended_reply", false);
boolean quote_reply = prefs.getBoolean("quote_reply", true);
boolean quote = (quote_reply && TextUtils.isEmpty(to));
@@ -504,7 +505,7 @@ public class EntityRule {
Element div = msg.createElement("div");
Element p = message.getReplyHeader(context, msg, extended_reply);
Element p = message.getReplyHeader(context, msg, separate_reply, extended_reply);
div.appendChild(p);
Document answering = JsoupEx.parse(message.getFile(context));