mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 17:52:17 -05:00
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() {
|
||||
this.activity = (ConversationActivity) getActivity();
|
||||
this.conversation = activity.getSelectedConversation();
|
||||
if (this.conversation == null) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user