fixed npe
This commit is contained in:
parent
a2987edd95
commit
890fb9a1b4
|
@ -177,6 +177,9 @@ public class ConversationFragment extends Fragment {
|
|||
private ConversationActivity activity;
|
||||
|
||||
private void sendMessage() {
|
||||
if (this.conversation==null) {
|
||||
return;
|
||||
}
|
||||
if (mEditMessage.getText().length() < 1) {
|
||||
if (this.conversation.getMode() == Conversation.MODE_MULTI) {
|
||||
conversation.setNextPresence(null);
|
||||
|
|
Loading…
Reference in New Issue