aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-09-07 00:09:12 +0200
committeriNPUTmice <daniel@gultsch.de>2014-09-07 00:09:12 +0200
commit890fb9a1b48f10c6f407c9652dda71b235ea2afb (patch)
treefc42e685f8c5db26fe89d570331d8d8a338dee75 /src
parenta2987edd951ccdcc54fa6e418d71065caadde921 (diff)
fixed npe
Diffstat (limited to 'src')
-rw-r--r--src/eu/siacs/conversations/ui/ConversationFragment.java3
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 a51371edc..48e605a12 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);