Avatar of recipient of outgoing messages in (unified) inbox

This commit is contained in:
M66B 2023-10-15 14:33:18 +02:00
parent 1a4b2b1f2f
commit 693961aa53
1 changed files with 3 additions and 1 deletions

View File

@ -1258,7 +1258,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
boolean reverse = (outgoing && viewType != ViewType.THREAD &&
(EntityFolder.isOutgoing(type) || viewType == ViewType.SEARCH)) ||
(viewType == ViewType.UNIFIED && type == null &&
message.folderUnified && EntityFolder.isOutgoing(message.folderType)) ||
message.folderUnified && outgoing) ||
(viewType == ViewType.FOLDER && EntityFolder.INBOX.equals(type) &&
message.folderUnified && outgoing) ||
EntityFolder.isOutgoing(message.folderInheritedType);
String selector = (reverse ? null : message.bimi_selector);
Address[] addresses = (reverse ? message.to : (message.isForwarder() ? message.submitter : message.from));