aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-08-10 14:04:59 +0200
committeriNPUTmice <daniel@gultsch.de>2014-08-10 14:04:59 +0200
commit6de53791b5db4513f662dabbdfe83db29eb4d666 (patch)
tree8896a2af5630260a6a1fddf7e5351e366e5bcfd7 /src/eu/siacs
parent1a6e42e7c15275fa0f44bcc2af8c15e0fec57760 (diff)
fixed rare npe after race condition
Diffstat (limited to 'src/eu/siacs')
-rw-r--r--src/eu/siacs/conversations/ui/ConversationFragment.java1
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 925949cd4..e0733291c 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;