Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
update cache on poll vote
Browse files Browse the repository at this point in the history
closes #924
  • Loading branch information
sk22 committed Nov 13, 2023
1 parent 52928e1 commit 148952b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit 148952b

Please sign in to comment.