mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 10:17:18 +00:00
Inherit similar message color
This commit is contained in:
parent
a87f3ea025
commit
43a18d3cf6
1 changed files with 7 additions and 0 deletions
|
@ -2041,6 +2041,7 @@ class Core {
|
|||
// Find message by Message-ID (slow, headers required)
|
||||
// - messages in inbox have same id as message sent to self
|
||||
// - messages in archive have same id as original
|
||||
Integer color = null;
|
||||
if (message == null) {
|
||||
String msgid = helper.getMessageID();
|
||||
Log.i(folder.name + " searching for " + msgid);
|
||||
|
@ -2072,6 +2073,9 @@ class Core {
|
|||
process = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (dup.flagged && dup.color != null)
|
||||
color = dup.color;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2140,6 +2144,9 @@ class Core {
|
|||
message.ui_ignored = seen;
|
||||
message.ui_browsed = browsed;
|
||||
|
||||
if (message.flagged)
|
||||
message.color = color;
|
||||
|
||||
if (MessageHelper.equal(message.submitter, message.from))
|
||||
message.submitter = null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue