Attempt to remove tracking from original messages

This commit is contained in:
M66B
2019-03-10 18:03:05 +00:00
parent f2a1828e3a
commit 3ac49cb2a5
5 changed files with 53 additions and 7 deletions

View File

@@ -1505,9 +1505,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
new SimpleTask<String>() {
@Override
protected String onExecute(Context context, Bundle args) throws Throwable {
protected String onExecute(Context context, Bundle args) throws IOException {
long id = args.getLong("id");
return getHtmlEmbedded(id);
return HtmlHelper.removeTracking(context, getHtmlEmbedded(id));
}
@Override
@@ -2207,9 +2207,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
new SimpleTask<String>() {
@Override
protected String onExecute(Context context, Bundle args) throws Throwable {
protected String onExecute(Context context, Bundle args) throws IOException {
long id = args.getLong("id");
return getHtmlEmbedded(id);
return HtmlHelper.removeTracking(context, getHtmlEmbedded(id));
}
@Override