Simplification

This commit is contained in:
M66B
2023-11-28 12:38:41 +01:00
parent 66b5971847
commit d287a45d48
2 changed files with 14 additions and 9 deletions

View File

@@ -3167,11 +3167,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
// Check for structured email
if (json_ld)
for (Element struct : document.select("script[type=application/ld+json]"))
try {
document.body().append(new JsonLd(struct.html()).getHtml(context));
} catch (Throwable ex) {
Log.w(ex);
}
document.body().append(new JsonLd(struct.html()).getHtml(context));
// Format message
if (show_full) {