Fix crash in MMS group creation.

Fixes #9901
master
Greyson Parrelli 2020-08-03 10:03:45 -04:00
parent d5ba82338d
commit 566285ec0e
1 changed files with 3 additions and 1 deletions

View File

@ -210,8 +210,10 @@ final class GroupMemberListAdapter extends LifecycleRecyclerAdapter<GroupMemberL
if (recipientClickListener != null) {
recipientClickListener.onClick(recipient);
}
if (selected != null) {
selectionChangeListener.onSelectionChange(getAdapterPosition(), !selected.isChecked());
}
}
});
this.itemView.setOnLongClickListener(v -> {
if (recipientLongClickListener != null && getAdapterPosition() != RecyclerView.NO_POSITION) {