fixed rare npe after race condition

This commit is contained in:
iNPUTmice 2014-08-10 14:04:59 +02:00
parent 1a6e42e7c1
commit 6de53791b5

View file

@ -272,6 +272,7 @@ public class ConversationFragment extends Fragment {
}
public void onBackendConnected() {
this.activity = (ConversationActivity) getActivity();
this.conversation = activity.getSelectedConversation();
if (this.conversation == null) {
return;