Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed poll answer FSM context #1436

Merged
merged 4 commits into from Mar 10, 2024
Merged

Fixed poll answer FSM context #1436

merged 4 commits into from Mar 10, 2024

Conversation

JrooTJunior
Copy link
Member

Fixed poll answer FSM context by handlingvoter_chat forpoll_answer event

The change ensures that when a poll_answer event is processed, the user context middleware now also returns the chat where the vote took place. Previously, only the user who cast the vote was returned.
@JrooTJunior JrooTJunior added the bug Something is wrong with the framework label Mar 8, 2024
@github-actions github-actions bot added the 3.x Issue or PR for stable 3.x version label Mar 8, 2024
Copy link

github-actions bot commented Mar 8, 2024

✔️ Changelog found.

Thank you for adding a description of the changes

Copy link

codecov bot commented Mar 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (a585fb0) to head (53272e2).
Report is 4 commits behind head on dev-3.x.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           dev-3.x     #1436   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          412       412           
  Lines        10682     10682           
=========================================
  Hits         10682     10682           
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
aiogram/dispatcher/middlewares/user_context.py 100.00% <100.00%> (ø)

@JrooTJunior JrooTJunior merged commit 0c9eeda into dev-3.x Mar 10, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issue or PR for stable 3.x version bug Something is wrong with the framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant