Fixing last commit concerning ChatFragment
This commit is contained in:
parent
9b13d2a5da
commit
7140eea562
1 changed files with 3 additions and 1 deletions
|
@ -702,7 +702,9 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
|
|||
}
|
||||
|
||||
private void sendTextMessage() {
|
||||
if (!LinphoneManager.isInstanciated() || LinphoneManager.getLc() == null || searchContactField.getText().toString().length() < 1)
|
||||
if (!LinphoneManager.isInstanciated() || LinphoneManager.getLc() == null ||
|
||||
(searchContactField.getVisibility() == View.VISIBLE
|
||||
&& searchContactField.getText().toString().length() < 1))
|
||||
return;
|
||||
LinphoneCore.LinphoneLimeState state = LinphoneManager.getLc().getLimeEncryption();
|
||||
|
||||
|
|
Loading…
Reference in a new issue