mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-12 12:03:17 +02:00
Simplification
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user