mirror of https://github.com/M66B/FairEmail.git
Skip confirm images/html globally
This commit is contained in:
parent
78c9b8449f
commit
c6c8708bb3
|
@ -4073,7 +4073,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
|
||||
boolean current = properties.getValue(full ? "full" : "images", message.id);
|
||||
boolean asked = properties.getValue(full ? "full_asked" : "images_asked", message.id);
|
||||
if (current || asked) {
|
||||
boolean confirm = prefs.getBoolean(full ? "confirm_html" : "confirm_images", true);
|
||||
if (current || asked || !confirm) {
|
||||
if (current && message.from != null) {
|
||||
SharedPreferences.Editor editor = prefs.edit();
|
||||
for (Address sender : message.from) {
|
||||
|
@ -4090,7 +4091,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
|
||||
properties.setValue(full ? "full" : "images", message.id, !current);
|
||||
onShowConfirmed(message, full, !current);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue