From 88e5713a802b5061f8b35304342baef0280c6092 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Wed, 30 Jul 2014 21:26:33 +0200 Subject: fixed npe in start conversation activity --- src/eu/siacs/conversations/ui/StartConversationActivity.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()); + } } }); } -- cgit v1.2.3