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,7 +169,9 @@ public class GroupInfoFragment extends Fragment implements ChatRoomListener {
|
||||||
mAddParticipantsLayout.setOnClickListener(new View.OnClickListener() {
|
mAddParticipantsLayout.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
LinphoneActivity.instance().goToChatCreator(mGroupChatRoomAddress != null ? mGroupChatRoomAddress.asString() : null, mParticipants, mSubject, !mIsAlreadyCreatedGroup);
|
if (mIsEditionEnabled) {
|
||||||
|
LinphoneActivity.instance().goToChatCreator(mGroupChatRoomAddress != null ? mGroupChatRoomAddress.asString() : null, mParticipants, mSubject, !mIsAlreadyCreatedGroup);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
mAddParticipantsButton = view.findViewById(R.id.addParticipants);
|
mAddParticipantsButton = view.findViewById(R.id.addParticipants);
|
||||||
|
|
Loading…
Reference in a new issue