mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-22 06:01:12 +00:00
Search reply if message from/to self
This commit is contained in:
parent
e2db164ce9
commit
17b90fccd8
1 changed files with 4 additions and 0 deletions
|
@ -1839,6 +1839,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
}
|
||||
}
|
||||
|
||||
if (outgoing && message.reply != null &&
|
||||
MessageHelper.equal(message.from, message.to))
|
||||
return message.reply;
|
||||
|
||||
return (outgoing ? message.to : message.from);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue