Revert "Revert "Link to message thread""

This reverts commit 45b567562b.
This commit is contained in:
M66B
2021-04-12 10:50:28 +02:00
parent 45b567562b
commit ee8dc05b22
3 changed files with 15 additions and 6 deletions

View File

@@ -4825,13 +4825,11 @@ 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", link);
a.attr("href", message.getLink());
document.body().appendElement("p").appendChild(a);