From 4edbced7dec541d57e01b36b55824c3614b55f95 Mon Sep 17 00:00:00 2001 From: Changhua Date: Wed, 10 May 2023 11:48:04 +0800 Subject: [PATCH] Fix is_at --- http/wcfhttp/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/http/wcfhttp/core.py b/http/wcfhttp/core.py index 3ed4ea9..2f11ffd 100644 --- a/http/wcfhttp/core.py +++ b/http/wcfhttp/core.py @@ -10,7 +10,7 @@ from fastapi import Body, FastAPI from pydantic import BaseModel from wcferry import Wcf, WxMsg -__version__ = "37.1.25.2" +__version__ = "37.1.25.3" class Msg(BaseModel): @@ -69,7 +69,7 @@ class Http(FastAPI): data["content"] = msg.content data["thumb"] = msg.thumb data["extra"] = msg.extra - data["is_at"] = msg.is_at() + data["is_at"] = msg.is_at(self.wcf.self_wxid) data["is_self"] = msg.from_self() data["is_group"] = msg.from_group()