mirror of https://github.com/M66B/FairEmail.git
Fixed editing rules from the report spam dialog
This commit is contained in:
parent
907ab12f78
commit
44cbd5f50a
|
@ -3748,6 +3748,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
Bundle aargs = new Bundle();
|
Bundle aargs = new Bundle();
|
||||||
aargs.putLong("id", message.id);
|
aargs.putLong("id", message.id);
|
||||||
aargs.putLong("account", message.account);
|
aargs.putLong("account", message.account);
|
||||||
|
aargs.putInt("protocol", message.accountProtocol);
|
||||||
aargs.putLong("folder", message.folder);
|
aargs.putLong("folder", message.folder);
|
||||||
aargs.putString("from", MessageHelper.formatAddresses(message.from));
|
aargs.putString("from", MessageHelper.formatAddresses(message.from));
|
||||||
|
|
||||||
|
@ -6065,6 +6066,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
Bundle args = getArguments();
|
Bundle args = getArguments();
|
||||||
final long account = args.getLong("account");
|
final long account = args.getLong("account");
|
||||||
final long folder = args.getLong("folder");
|
final long folder = args.getLong("folder");
|
||||||
|
final int protocol = args.getInt("protocol");
|
||||||
final String from = args.getString("from");
|
final String from = args.getString("from");
|
||||||
|
|
||||||
View view = LayoutInflater.from(getContext()).inflate(R.layout.dialog_junk, null);
|
View view = LayoutInflater.from(getContext()).inflate(R.layout.dialog_junk, null);
|
||||||
|
@ -6100,7 +6102,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
lbm.sendBroadcast(
|
lbm.sendBroadcast(
|
||||||
new Intent(ActivityView.ACTION_EDIT_RULES)
|
new Intent(ActivityView.ACTION_EDIT_RULES)
|
||||||
.putExtra("account", account)
|
.putExtra("account", account)
|
||||||
.putExtra("folder", folder));
|
.putExtra("folder", folder)
|
||||||
|
.putExtra("protocol", protocol));
|
||||||
dismiss();
|
dismiss();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue