Updated linphone
This commit is contained in:
parent
1dbca18fe8
commit
83584a43c4
3 changed files with 5 additions and 5 deletions
|
@ -406,7 +406,7 @@ public class GroupChatFragment extends Fragment implements ChatRoomListener, Con
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mChatRoom.isReadOnly()) {
|
if (mChatRoom.hasBeenLeft()) {
|
||||||
setReadOnly();
|
setReadOnly();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -679,7 +679,7 @@ public class GroupChatFragment extends Fragment implements ChatRoomListener, Con
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onStateChanged(ChatRoom cr, ChatRoom.State newState) {
|
public void onStateChanged(ChatRoom cr, ChatRoom.State newState) {
|
||||||
if (mChatRoom.isReadOnly()) {
|
if (mChatRoom.hasBeenLeft()) {
|
||||||
setReadOnly();
|
setReadOnly();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,7 +94,7 @@ public class GroupInfoFragment extends Fragment implements ChatRoomListener {
|
||||||
mIsEditionEnabled = getArguments().getBoolean("isEditionEnabled");
|
mIsEditionEnabled = getArguments().getBoolean("isEditionEnabled");
|
||||||
mSubject = getArguments().getString("subject");
|
mSubject = getArguments().getString("subject");
|
||||||
|
|
||||||
if (mChatRoom != null && mChatRoom.isReadOnly()) {
|
if (mChatRoom != null && mChatRoom.hasBeenLeft()) {
|
||||||
mIsEditionEnabled = false;
|
mIsEditionEnabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@ public class GroupInfoFragment extends Fragment implements ChatRoomListener {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
mLeaveGroupButton.setVisibility(mIsAlreadyCreatedGroup && mChatRoom.isReadOnly() ? View.GONE : View.VISIBLE);
|
mLeaveGroupButton.setVisibility(mIsAlreadyCreatedGroup && mChatRoom.hasBeenLeft() ? View.GONE : View.VISIBLE);
|
||||||
|
|
||||||
mAddParticipantsButton = view.findViewById(R.id.addParticipants);
|
mAddParticipantsButton = view.findViewById(R.id.addParticipants);
|
||||||
mAddParticipantsButton.setOnClickListener(new View.OnClickListener() {
|
mAddParticipantsButton.setOnClickListener(new View.OnClickListener() {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 397dbc39fbc3f9ce82070f916e52e7f261c058da
|
Subproject commit 89ed9caeebc3e371bdb92ddf3328978da18ba9eb
|
Loading…
Reference in a new issue