diff --git a/src/android/org/linphone/chat/GroupInfoFragment.java b/src/android/org/linphone/chat/GroupInfoFragment.java index 2daec2fe3..a6a29ff2c 100644 --- a/src/android/org/linphone/chat/GroupInfoFragment.java +++ b/src/android/org/linphone/chat/GroupInfoFragment.java @@ -138,7 +138,7 @@ public class GroupInfoFragment extends Fragment implements ChatRoomListener { } } }); - mLeaveGroupButton.setVisibility(mIsAlreadyCreatedGroup && mChatRoom.hasBeenLeft() ? View.GONE : View.VISIBLE); + mLeaveGroupButton.setVisibility(mIsAlreadyCreatedGroup && mChatRoom.hasBeenLeft() ? View.GONE : mIsAlreadyCreatedGroup ? View.VISIBLE : View.GONE); mAddParticipantsButton = view.findViewById(R.id.addParticipants); mAddParticipantsButton.setOnClickListener(new View.OnClickListener() {