-
- Downloads
Do not allow adding votes to expired polls (#10214)
* Do not allow adding votes to expired polls * Only validate expires_at on create
Showing
- app/lib/activitypub/activity/create.rb 1 addition, 0 deletionsapp/lib/activitypub/activity/create.rb
- app/models/poll.rb 1 addition, 1 deletionapp/models/poll.rb
- app/services/vote_service.rb 2 additions, 0 deletionsapp/services/vote_service.rb
- spec/lib/activitypub/activity/create_spec.rb 22 additions, 0 deletionsspec/lib/activitypub/activity/create_spec.rb
Please register or sign in to comment