Avatar of recipient of outgoing messages in the unified inbox

This commit is contained in:
M66B 2023-10-15 11:21:24 +02:00
parent aea3ade367
commit 32da66d977
1 changed files with 1 additions and 2 deletions

View File

@ -1257,8 +1257,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
boolean outgoing = isOutgoing(message);
boolean reverse = (outgoing && viewType != ViewType.THREAD &&
(EntityFolder.isOutgoing(type) || viewType == ViewType.SEARCH)) ||
(viewType == ViewType.UNIFIED && type == null &&
message.folderUnified && EntityFolder.isOutgoing(message.folderType)) ||
(viewType == ViewType.UNIFIED && type == null && 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));