mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-29 08:24:46 +01:00
fixed NPE in channel discovery after race to create menu
This commit is contained in:
parent
1db07b84f3
commit
a909e1a7cf
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ public class ChannelDiscoveryActivity extends XmppActivity implements MenuItem.O
|
|||
mMenuSearchView.expandActionView();
|
||||
mSearchEditText.append(initialSearchValue);
|
||||
mSearchEditText.requestFocus();
|
||||
if (optedIn) {
|
||||
if (optedIn && xmppConnectionService != null) {
|
||||
xmppConnectionService.discoverChannels(initialSearchValue, this);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue