mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-27 18:45:05 +08:00
🐛 fix receive reject
This commit is contained in:
parent
29f14a20ce
commit
030237fe22
@ -431,6 +431,7 @@ class Matcher(metaclass=MatcherMeta):
|
||||
if state.get(_receive):
|
||||
return
|
||||
state[_receive] = True
|
||||
del state["_current_key"]
|
||||
raise RejectedException
|
||||
|
||||
def _decorator(func: T_Handler) -> T_Handler:
|
||||
|
Loading…
Reference in New Issue
Block a user