diff --git a/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java b/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java index 880b7d074..6e4fba990 100644 --- a/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java +++ b/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java @@ -1973,7 +1973,7 @@ public class StatusAdapter extends RecyclerView.Adapter searchVM.search(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, statusToDeal.uri, null, "statuses", false, true, false, 0, null, null, 1) .observe((LifecycleOwner) context, results -> { if (results != null && results.statuses != null && results.statuses.size() > 0) { - Status fetchedStatus = statusList.get(0); + Status fetchedStatus = results.statuses.get(0); Intent intent = new Intent(context, ComposeActivity.class); intent.putExtra(Helper.ARG_STATUS_REPLY, fetchedStatus); context.startActivity(intent);