1
0
Fork 0
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:
M66B 2019-09-27 09:39:41 +02:00
parent e2db164ce9
commit 17b90fccd8

View file

@ -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);
}