Always 1 recipient

This commit is contained in:
M66B 2020-02-28 21:24:02 +01:00
parent eeb05c0ed8
commit 66783f59c6
1 changed files with 1 additions and 2 deletions

View File

@ -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--;
} }