This commit is contained in:
thsrite
2024-03-23 18:59:25 +08:00
parent 78c0a787da
commit 68efa508d0

View File

@@ -292,8 +292,8 @@ class WeChatForward(_PluginBase):
extra_userid = extras[3]
if re.search(extra_pattern, title):
# 判断text的userId
pattern = r"用户:\{(\d+)\}"
result = re.search(pattern, text)
userid_pattern = r"用户:\{(\d+)\}"
result = re.search(userid_pattern, text)
if not result:
continue
# 获取消息text中的用户