Skip to content

Commit

Permalink
Remove match_against_pattern, closes #43 (#44)
Browse files Browse the repository at this point in the history
* Update client.py

* Deleted the comments
  • Loading branch information
kyee-rs authored Nov 9, 2023
1 parent 3cda81d commit 6991738
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyromod/listen/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,7 @@ async def stop_listening(
message_id=message_id,
inline_message_id=inline_message_id,
)
listeners = self.get_many_listeners_matching_with_identifier_pattern(
pattern, listener_type, match_against_pattern=True
)
listeners = self.get_many_listeners_matching_with_identifier_pattern(pattern, listener_type)

for listener in listeners:
await self.stop_listener(listener)
Expand Down

0 comments on commit 6991738

Please sign in to comment.