Fixing crash in chat view, close #110
This commit is contained in:
parent
e74e4bc8d2
commit
93d53d2ab5
1 changed files with 1 additions and 1 deletions
|
@ -701,7 +701,7 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
|
|||
}
|
||||
|
||||
private void sendTextMessage() {
|
||||
if (!LinphoneManager.isInstanciated() || LinphoneManager.getLc() == null)
|
||||
if (!LinphoneManager.isInstanciated() || LinphoneManager.getLc() == null || searchContactField.getText().toString().length() < 1)
|
||||
return;
|
||||
LinphoneCore.LinphoneLimeState state = LinphoneManager.getLc().getLimeEncryption();
|
||||
|
||||
|
|
Loading…
Reference in a new issue