fixed rare npe after race condition
This commit is contained in:
parent
1a6e42e7c1
commit
6de53791b5
|
@ -272,6 +272,7 @@ public class ConversationFragment extends Fragment {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onBackendConnected() {
|
public void onBackendConnected() {
|
||||||
|
this.activity = (ConversationActivity) getActivity();
|
||||||
this.conversation = activity.getSelectedConversation();
|
this.conversation = activity.getSelectedConversation();
|
||||||
if (this.conversation == null) {
|
if (this.conversation == null) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue