From 148952b96cdf9a314a69ce6dddee6fac3dcc94f5 Mon Sep 17 00:00:00 2001 From: sk Date: Mon, 13 Nov 2023 20:48:16 +0100 Subject: [PATCH] update cache on poll vote closes sk22#924 --- .../org/joinmastodon/android/fragments/StatusListFragment.java | 1 + 1 file changed, 1 insertion(+) 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 058aea1ea5..a9ce45dffd 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/StatusListFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/StatusListFragment.java @@ -353,6 +353,7 @@ public void onPollUpdated(PollUpdatedEvent ev){ Status contentStatus=status.getContentStatus(); if(contentStatus.poll!=null && contentStatus.poll.id.equals(ev.poll.id)){ updatePoll(status.id, contentStatus, ev.poll); + AccountSessionManager.get(accountID).getCacheController().updateStatus(contentStatus); } } }