Revert "Refactoring"

This reverts commit 0d6f8ec9eb.
This commit is contained in:
M66B 2023-10-15 14:26:44 +02:00
parent 0d6f8ec9eb
commit fae335cd8e
1 changed files with 3 additions and 5 deletions

View File

@ -1256,11 +1256,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
boolean outbox = EntityFolder.OUTBOX.equals(message.folderType);
boolean outgoing = isOutgoing(message);
boolean reverse = (outgoing && viewType != ViewType.THREAD &&
(EntityFolder.isOutgoing(type) ||
EntityFolder.isOutgoing(message.folderInheritedType) ||
viewType == ViewType.SEARCH ||
(viewType == ViewType.UNIFIED && type == null && message.folderUnified) ||
(viewType == ViewType.FOLDER && EntityFolder.INBOX.equals(type) && message.folderUnified)));
(EntityFolder.isOutgoing(type) || viewType == ViewType.SEARCH)) ||
(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));
Address[] senders = ContactInfo.fillIn(