From b76f24ca1266e6125a1363e382ee63fd907fad20 Mon Sep 17 00:00:00 2001 From: Sam <100821827+01101sam@users.noreply.github.com> Date: Sun, 3 Jul 2022 11:38:28 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20PMC=20-=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E4=BC=9A=E6=8C=91=E6=88=98=E8=87=AA=E5=B7=B1=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- list.json | 2 +- pmcaptcha/main.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/list.json b/list.json index 30c1c5f..57145ce 100644 --- a/list.json +++ b/list.json @@ -72,7 +72,7 @@ }, { "name": "pmcaptcha", - "version": "2.106", + "version": "2.107", "section": "chat", "maintainer": "cloudreflection,01101sam", "size": "54.6 kb", diff --git a/pmcaptcha/main.py b/pmcaptcha/main.py index aadece9..e1a58a4 100644 --- a/pmcaptcha/main.py +++ b/pmcaptcha/main.py @@ -2153,6 +2153,7 @@ class Rule: return (self.user.id in (347437156, 583325201, 1148248480) or # Skip for PGM/PMC Developers self.msg.from_user.is_contact or self.msg.from_user.is_verified or + self.user.is_self or self.msg.chat.type == ChatType.BOT or setting.is_verified(self.user.id))