mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-28 00:20:50 +01:00
Fixed rule move/seen
This commit is contained in:
@@ -140,13 +140,16 @@ public class EntityOperation {
|
||||
else if (MOVE.equals(name)) {
|
||||
// Parameters:
|
||||
// 0: target folder
|
||||
// (1: auto read)
|
||||
// 1: mark read (rule)
|
||||
// 2: temporary message
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean autoread = prefs.getBoolean("autoread", false);
|
||||
boolean autounflag = prefs.getBoolean("autounflag", false);
|
||||
|
||||
if (jargs.optBoolean(1))
|
||||
autoread = true;
|
||||
|
||||
EntityFolder source = db.folder().getFolder(message.folder);
|
||||
EntityFolder target = db.folder().getFolder(jargs.getLong(0));
|
||||
if (source.id.equals(target.id))
|
||||
|
||||
Reference in New Issue
Block a user