Skip to content

Conversation

@ema-pe
Copy link

@ema-pe ema-pe commented Nov 1, 2019

The method BaseFilter.filter() accepts a Message by default. Only if
class attribute update_filter is set to True the method accepts an
Update.

This pull request provides a commit that emphasizes this behaviour, because one can misunderstand it.

Closes: #1595

The method BaseFilter.filter() accepts a Message by default. Only if
class attribute 'update_filter' is set to True the method accepts an
Update.
@Bibo-Joshi
Copy link
Member

@ema-pe I merged master so tests will succeed and changed the last line of the PR description so it will automatically close #1595 on merge :)

@Bibo-Joshi Bibo-Joshi added ⚙️ documentation affected functionality: documentation 📋 pending-merge work status: pending-merge labels Nov 18, 2019
@Bibo-Joshi Bibo-Joshi added this to the 12.4 milestone Nov 18, 2019
@ema-pe
Copy link
Author

ema-pe commented Nov 19, 2019 via email

@Bibo-Joshi Bibo-Joshi removed the 📋 pending-merge work status: pending-merge label Jan 26, 2020
@Bibo-Joshi Bibo-Joshi modified the milestones: 12.4, 13.0 Jan 26, 2020
@Bibo-Joshi
Copy link
Member

After some discussion, we're actually a bit unsure about this change. Hence, I move this PR to Milestone 13. We'll need some more internal discussion before making a decision.

@Bibo-Joshi
Copy link
Member

We decided to go another way in #2032, so I'll be closing this. Still, thank you for PRing :)

@Bibo-Joshi Bibo-Joshi closed this Jul 30, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

⚙️ documentation affected functionality: documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom Filters: Wiki and code are in conflict

3 participants