diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java index fd9d2aa7a..a685bd252 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java @@ -2483,7 +2483,7 @@ public class ConversationFragment extends XmppFragment handleAttachmentSelection(item); break; case R.id.attach_webxdc: - final Intent intent = new Intent(getActivity(), WebxdcStore.class); + final Intent intent = new Intent(activity, WebxdcStore.class); startActivityForResult(intent, REQUEST_WEBXDC_STORE); break; case R.id.attach_subject: