Fix chat view for one to one chatroom

This commit is contained in:
Erwan Croze 2018-08-21 12:09:34 +02:00
parent 226d74bfc1
commit e3b2deae68

View file

@ -853,7 +853,7 @@ public class GroupChatFragment extends Fragment implements ChatRoomListener, Con
mParticipantsLabel.setVisibility(View.GONE);
if (composing.size() == 0) {
mRemoteComposing.setVisibility(View.GONE);
mParticipantsLabel.setVisibility(View.VISIBLE);
if (!mChatRoom.hasCapability(ChatRoomCapabilities.OneToOne.toInt())) mParticipantsLabel.setVisibility(View.VISIBLE);
} else if (composing.size() == 1) {
mRemoteComposing.setText(getString(R.string.remote_composing_single).replace("%s", composing.get(0)));
} else {