Fixed composing issue
This commit is contained in:
parent
e024554908
commit
bc85b91224
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ public class GroupChatFragment extends Fragment implements ChatRoomListener, Con
|
||||||
@Override
|
@Override
|
||||||
public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {
|
public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {
|
||||||
mSendMessageButton.setEnabled(mMessageTextToSend.getText().length() > 0 || mFilesUploadLayout.getChildCount() > 0);
|
mSendMessageButton.setEnabled(mMessageTextToSend.getText().length() > 0 || mFilesUploadLayout.getChildCount() > 0);
|
||||||
if (mChatRoom != null) {
|
if (mChatRoom != null && mMessageTextToSend.getText().length() > 0) {
|
||||||
mChatRoom.compose();
|
mChatRoom.compose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue