diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/FooterStatusDisplayItem.java b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/FooterStatusDisplayItem.java index b36bdeb3bb..47bf982436 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/FooterStatusDisplayItem.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/FooterStatusDisplayItem.java @@ -422,6 +422,17 @@ private int descriptionForId(int id){ return 0; } + private void applyInteraction(View v, Consumer interactionConsumer) { + if(!item.status.isRemote){ + interactionConsumer.accept(item.status); + return; + } + UiUtils.lookupStatus(v.getContext(), + item.status, item.accountID, null, + interactionConsumer + ); + } + private static void vibrateForAction(View view, boolean isPositive) { if (!GlobalUserPreferences.hapticFeedback) return;