This commit is contained in:
Austin Huang 2021-06-04 14:45:28 -04:00
parent 86ce7e5f05
commit aad93a9662
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F

View File

@ -37,7 +37,7 @@ public class RecipientThreadViewHolder extends RecyclerView.ViewHolder {
final DirectThread thread,
final boolean showSelection,
final boolean isSelected) {
if (thread == null) return;
if (thread == null || thread.getUsers().size() == 0) return;
binding.getRoot().setOnClickListener(v -> {
if (onThreadClickListener == null) return;
onThreadClickListener.onClick(position, RankedRecipient.of(thread), isSelected);