mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-17 20:40:58 +08:00
feat: enable multi-option polls
This commit is contained in:
@@ -111,6 +111,7 @@ public class PostMapper {
|
||||
.collect(Collectors.groupingBy(PollVote::getOptionIndex,
|
||||
Collectors.mapping(v -> userMapper.toAuthorDto(v.getUser()), Collectors.toList())));
|
||||
p.setOptionParticipants(optionParticipants);
|
||||
p.setMultiple(pp.isMultiple());
|
||||
dto.setPoll(p);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user