diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-09-07 00:09:12 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-09-07 00:09:12 +0200 |
commit | 890fb9a1b48f10c6f407c9652dda71b235ea2afb (patch) | |
tree | fc42e685f8c5db26fe89d570331d8d8a338dee75 /src | |
parent | a2987edd951ccdcc54fa6e418d71065caadde921 (diff) |
fixed npe
Diffstat (limited to 'src')
-rw-r--r-- | src/eu/siacs/conversations/ui/ConversationFragment.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationFragment.java b/src/eu/siacs/conversations/ui/ConversationFragment.java index a51371ed..48e605a1 100644 --- a/src/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/eu/siacs/conversations/ui/ConversationFragment.java @@ -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); |