Fix vote on polls from a reblog.
This commit is contained in:
parent
4077802949
commit
e9db8a4655
|
@ -253,7 +253,11 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onPoll(Status status, Poll poll) {
|
public void onPoll(Status status, Poll poll) {
|
||||||
status.setPoll(poll);
|
if( status.getReblog() != null){
|
||||||
|
status.getReblog().setPoll(poll);
|
||||||
|
}else{
|
||||||
|
status.setPoll(poll);
|
||||||
|
}
|
||||||
notifyStatusChanged(status);
|
notifyStatusChanged(status);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue