fixed npe when user was very quick with starting to type in startConversationactivity
This commit is contained in:
parent
ba2a102c07
commit
5182a92e58
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue