Added options to disable asking for showing images / original messages

This commit is contained in:
M66B
2021-10-27 09:10:40 +02:00
parent b6359b0485
commit c06518608b
4 changed files with 58 additions and 5 deletions

View File

@@ -4167,7 +4167,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);
boolean confirm = prefs.getBoolean(full ? "confirm_html" : "confirm_images", true);
if (current || asked || !confirm) {
boolean ask = prefs.getBoolean(full ? "ask_html" : "ask_images", true);
if (current || asked || !confirm || !ask) {
if (current && message.from != null) {
SharedPreferences.Editor editor = prefs.edit();
for (Address sender : message.from) {