From e7be9dd5819c9d758bb2700820d280534741c0fb Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 11 Feb 2021 11:51:51 +0100 Subject: [PATCH] Remove some Facebook tracking parameters --- .../java/eu/faircode/email/AdapterMessage.java | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index 17d3af63ab..97f28a3044 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -302,6 +302,10 @@ public class AdapterMessage extends RecyclerView.Adapter FACEBOOK_QUERY = Collections.unmodifiableList(Arrays.asList( + "ref", "n_m", "lloc" + )); + // https://www.iana.org/assignments/imap-jmap-keywords/imap-jmap-keywords.xhtml private static final List IMAP_KEYWORDS_BLACKLIST = Collections.unmodifiableList(Arrays.asList( "$MDNSent".toLowerCase(Locale.ROOT), // https://tools.ietf.org/html/rfc3503 @@ -6382,13 +6386,14 @@ public class AdapterMessage extends RecyclerView.Adapter