fixed npe when user was very quick with starting to type in startConversationactivity

This commit is contained in:
iNPUTmice 2014-07-26 15:44:13 +02:00
parent ba2a102c07
commit 5182a92e58
1 changed files with 4 additions and 2 deletions

View File

@ -482,9 +482,11 @@ public class StartConversationActivity extends XmppActivity {
} }
protected void filter(String needle) { protected void filter(String needle) {
if (xmppConnectionServiceBound) {
this.filterContacts(needle); this.filterContacts(needle);
this.filterConferences(needle); this.filterConferences(needle);
} }
}
protected void filterContacts(String needle) { protected void filterContacts(String needle) {
this.contacts.clear(); this.contacts.clear();