diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-08-10 14:04:59 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-08-10 14:04:59 +0200 |
commit | 6de53791b5db4513f662dabbdfe83db29eb4d666 (patch) | |
tree | 8896a2af5630260a6a1fddf7e5351e366e5bcfd7 /src | |
parent | 1a6e42e7c15275fa0f44bcc2af8c15e0fec57760 (diff) |
fixed rare npe after race condition
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/ui/ConversationFragment.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationFragment.java b/src/eu/siacs/conversations/ui/ConversationFragment.java index 925949cd..e0733291 100644 --- a/src/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/eu/siacs/conversations/ui/ConversationFragment.java @@ -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; |