mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Revert "Revert "Revert "Link to message thread"""
This reverts commit ee8dc05b22.
This commit is contained in:
@@ -4825,11 +4825,13 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
if (!TextUtils.isEmpty(message.subject))
|
||||
result.put("subject", message.subject);
|
||||
|
||||
String link = "message://" + BuildConfig.APPLICATION_ID + "/" + message.id;
|
||||
|
||||
Document document = JsoupEx.parse(file);
|
||||
|
||||
Element a = document.createElement("a");
|
||||
a.text(context.getString(R.string.app_name));
|
||||
a.attr("href", message.getLink());
|
||||
a.attr("href", link);
|
||||
|
||||
document.body().appendElement("p").appendChild(a);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user