update cache on poll vote

closes sk22#924
This commit is contained in:
sk 2023-11-13 20:48:16 +01:00
parent 52928e1577
commit 148952b96c
1 changed files with 1 additions and 0 deletions

View File

@ -353,6 +353,7 @@ public abstract class StatusListFragment extends BaseStatusListFragment<Status>
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);
}
}
}