From 030237fe222e62cae16e0fb8787946bf7400c237 Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Thu, 25 Nov 2021 20:42:48 +0800 Subject: [PATCH] :bug: fix receive reject --- nonebot/matcher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nonebot/matcher.py b/nonebot/matcher.py index 6f42dcf2..449be730 100644 --- a/nonebot/matcher.py +++ b/nonebot/matcher.py @@ -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: