aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-07-30 21:26:33 +0200
committeriNPUTmice <daniel@gultsch.de>2014-07-30 21:26:33 +0200
commit88e5713a802b5061f8b35304342baef0280c6092 (patch)
treeab2cbd56e4627fca1669e003a1ecafd213118732 /src/eu/siacs
parentbc24cf93abb3937af045c378f1e928ab96a9156e (diff)
fixed npe in start conversation activity
Diffstat (limited to 'src/eu/siacs')
-rw-r--r--src/eu/siacs/conversations/ui/StartConversationActivity.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/ui/StartConversationActivity.java b/src/eu/siacs/conversations/ui/StartConversationActivity.java
index c106955f..b56d8a60 100644
--- a/src/eu/siacs/conversations/ui/StartConversationActivity.java
+++ b/src/eu/siacs/conversations/ui/StartConversationActivity.java
@@ -148,7 +148,9 @@ public class StartConversationActivity extends XmppActivity {
@Override
public void run() {
- filter(mSearchEditText.getText().toString());
+ if (mSearchEditText != null) {
+ filter(mSearchEditText.getText().toString());
+ }
}
});
}