Do not go to add participants view when clicking on participants layout if not admin
This commit is contained in:
parent
f6c0046ae7
commit
754ca6d64e
1 changed files with 3 additions and 1 deletions
|
@ -169,8 +169,10 @@ public class GroupInfoFragment extends Fragment implements ChatRoomListener {
|
|||
mAddParticipantsLayout.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
if (mIsEditionEnabled) {
|
||||
LinphoneActivity.instance().goToChatCreator(mGroupChatRoomAddress != null ? mGroupChatRoomAddress.asString() : null, mParticipants, mSubject, !mIsAlreadyCreatedGroup);
|
||||
}
|
||||
}
|
||||
});
|
||||
mAddParticipantsButton = view.findViewById(R.id.addParticipants);
|
||||
mAddParticipantsButton.setOnClickListener(new View.OnClickListener() {
|
||||
|
|
Loading…
Reference in a new issue