mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 09:47:13 +00:00
Fixed editing rules from the report spam dialog
This commit is contained in:
parent
907ab12f78
commit
44cbd5f50a
1 changed files with 4 additions and 1 deletions
|
@ -3748,6 +3748,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
Bundle aargs = new Bundle();
|
||||
aargs.putLong("id", message.id);
|
||||
aargs.putLong("account", message.account);
|
||||
aargs.putInt("protocol", message.accountProtocol);
|
||||
aargs.putLong("folder", message.folder);
|
||||
aargs.putString("from", MessageHelper.formatAddresses(message.from));
|
||||
|
||||
|
@ -6065,6 +6066,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
Bundle args = getArguments();
|
||||
final long account = args.getLong("account");
|
||||
final long folder = args.getLong("folder");
|
||||
final int protocol = args.getInt("protocol");
|
||||
final String from = args.getString("from");
|
||||
|
||||
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(
|
||||
new Intent(ActivityView.ACTION_EDIT_RULES)
|
||||
.putExtra("account", account)
|
||||
.putExtra("folder", folder));
|
||||
.putExtra("folder", folder)
|
||||
.putExtra("protocol", protocol));
|
||||
dismiss();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue