Fix vote on polls from a reblog.

This commit is contained in:
tom79 2019-05-05 17:28:19 +02:00
parent 4077802949
commit e9db8a4655
1 changed files with 5 additions and 1 deletions

View File

@ -253,7 +253,11 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
@Override
public void onPoll(Status status, Poll poll) {
status.setPoll(poll);
if( status.getReblog() != null){
status.getReblog().setPoll(poll);
}else{
status.setPoll(poll);
}
notifyStatusChanged(status);
}