1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-23 22:51:02 +00:00

Show contact photo in outbound messages

This commit is contained in:
M66B 2019-01-19 13:26:14 +00:00
parent c3de24c60f
commit e67ca3b6da

View file

@ -410,10 +410,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
boolean outgoing = (viewType != ViewType.THREAD && EntityFolder.isOutgoing(message.folderType));
if (!outgoing && (avatars || identicons)) {
if (avatars || identicons) {
Bundle aargs = new Bundle();
aargs.putLong("id", message.id);
aargs.putSerializable("addresses", message.from);
aargs.putSerializable("addresses", outgoing ? message.to : message.from);
new SimpleTask<ContactInfo>() {
@Override