1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-20 21:27:07 +00:00

Limited shared message size

This commit is contained in:
M66B 2021-09-23 15:58:28 +02:00
parent 7adce05e43
commit 27ff9b3e31

View file

@ -5222,7 +5222,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
String link = "message://" + BuildConfig.APPLICATION_ID + "/" + message.id;
Document document = JsoupEx.parse(file);
HtmlHelper.quoteLimit(document, MAX_QUOTE_LEVEL);
HtmlHelper.truncate(document, HtmlHelper.MAX_FULL_TEXT_SIZE / 2);
Element a = document.createElement("a");
a.text(context.getString(R.string.app_name));