From df2ae9d96413bffdac994b350a128bc2cf7f5f70 Mon Sep 17 00:00:00 2001 From: sk Date: Wed, 28 Jun 2023 17:23:32 +0200 Subject: [PATCH] fix poll not updating status when boosted closes sk22#403 --- .../org/joinmastodon/android/fragments/StatusListFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/StatusListFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/StatusListFragment.java index 6e6bb169..e0b0b41d 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/StatusListFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/StatusListFragment.java @@ -224,7 +224,7 @@ public abstract class StatusListFragment extends BaseStatusListFragment{ for(Status status:data){ Status contentStatus=status.getContentStatus(); if(contentStatus.poll!=null && contentStatus.poll.id.equals(ev.poll.id)){ - updatePoll(status.id, status, ev.poll); + updatePoll(status.id, contentStatus, ev.poll); } } }