close #1386
This commit is contained in:
parent
86ce7e5f05
commit
aad93a9662
@ -37,7 +37,7 @@ public class RecipientThreadViewHolder extends RecyclerView.ViewHolder {
|
|||||||
final DirectThread thread,
|
final DirectThread thread,
|
||||||
final boolean showSelection,
|
final boolean showSelection,
|
||||||
final boolean isSelected) {
|
final boolean isSelected) {
|
||||||
if (thread == null) return;
|
if (thread == null || thread.getUsers().size() == 0) return;
|
||||||
binding.getRoot().setOnClickListener(v -> {
|
binding.getRoot().setOnClickListener(v -> {
|
||||||
if (onThreadClickListener == null) return;
|
if (onThreadClickListener == null) return;
|
||||||
onThreadClickListener.onClick(position, RankedRecipient.of(thread), isSelected);
|
onThreadClickListener.onClick(position, RankedRecipient.of(thread), isSelected);
|
||||||
|
Loading…
Reference in New Issue
Block a user