mirror of https://github.com/M66B/FairEmail.git
Always 1 recipient
This commit is contained in:
parent
eeb05c0ed8
commit
66783f59c6
|
@ -1237,8 +1237,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
if (viewType == ViewType.THREAD) {
|
if (viewType == ViewType.THREAD) {
|
||||||
recipients = (message.to == null ? 0 : message.to.length) +
|
recipients = (message.to == null ? 0 : message.to.length) +
|
||||||
(message.cc == null ? 0 : message.cc.length) + (message.bcc == null ? 0 : message.bcc.length);
|
(message.cc == null ? 0 : message.cc.length) + (message.bcc == null ? 0 : message.bcc.length);
|
||||||
boolean outgoing = isOutgoing(message);
|
if (message.to != null && message.to.length > 0)
|
||||||
if (!outgoing && message.to != null && message.to.length > 0)
|
|
||||||
recipients--;
|
recipients--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue