Skip to content

Commit

Permalink
fix poll not updating status when boosted
Browse files Browse the repository at this point in the history
closes #403
  • Loading branch information
sk22 committed Jun 28, 2023
1 parent bfe6fd5 commit 90e9838
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public void onPollUpdated(PollUpdatedEvent ev){
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);
}
}
}
Expand Down

0 comments on commit 90e9838

Please sign in to comment.